Skip to content

Commit

Permalink
[docs] Small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Unarelith committed May 20, 2020
1 parent eb5bbb4 commit 82c52bc
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/lua-api-block.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ draw_type = "solid" -- this is the default value

Groups of the block. They can be used in recipes, and can also filter Lua-defined inventory widgets.

See [Item#Attributes#groups](/lua-api-item#groups) for more details.
See [Item#Attributes#groups](lua-api-item.md#groups) for more details.

### `hardness`

Expand Down
4 changes: 2 additions & 2 deletions docs/lua-api-core.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

### `openminer.registry`

`Registry` instance of the server. See [C++ classes in lua#Registry](/lua-api-cpp#registry) for more details.
`Registry` instance of the server. See [C++ classes in lua#Registry](lua-api-cpp.md#registry) for more details.

### `openminer.mod_loader`

Mod loader instance in the server. See [C++ classes in lua#ServerModLoader](/lua-api-cpp#servermodloader) for more details.
Mod loader instance in the server. See [C++ classes in lua#ServerModLoader](lua-api-cpp.md#servermodloader) for more details.

## Functions

Expand Down
2 changes: 1 addition & 1 deletion docs/lua-api-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@

## ServerModLoader

- `LuaMod *register_mod(string mod_id)` (see [Lua Mod API](/lua-api-mod#example))
- `LuaMod *register_mod(string mod_id)` (see [Lua Mod API](lua-api-mod.md#example))

## ServerPlayer

Expand Down
2 changes: 1 addition & 1 deletion docs/lua-api-gui-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,5 @@ Example:
texture = mod:path() .. "/textures/gui/workbench.png"
```

See [this page](/lua-api-mod#path) for more details about `mod:path()`.
See [this page](lua-api-mod.md#path) for more details about `mod:path()`.

2 changes: 1 addition & 1 deletion docs/lua-api-gui-progress-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Example:
texture = mod:path() .. "/textures/gui/furnace.png"
```

See [this page](/lua-api-mod#path) for more details about `mod:path()`.
See [this page](lua-api-mod.md#path) for more details about `mod:path()`.

### `type`

Expand Down
2 changes: 1 addition & 1 deletion docs/lua-api-gui-scroll-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Example:
texture = mod:path() .. "/textures/gui/tabs.png"
```

See [this page](/lua-api-mod#path) for more details about `mod:path()`.
See [this page](lua-api-mod.md#path) for more details about `mod:path()`.

### `widget`

Expand Down
4 changes: 2 additions & 2 deletions docs/lua-api-recipe.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ pattern = {

Mapping of the characters used in `pattern` to actual item string IDs.

**Note:** Keys can also be groups. See [Item#Attributes#groups](/lua-api-item#groups) for more details.
**Note:** Keys can also be groups. See [Item#Attributes#groups](lua-api-item.md#groups) for more details.

Example:
```lua
Expand Down Expand Up @@ -107,7 +107,7 @@ Possible attributes:
- `id`: String ID of the item created.
- `amount`: Amount of items in the created stack.

**Note:** `id` can also be a group. See [Item#Attributes#groups](/lua-api-item#groups) for more details.
**Note:** `id` can also be a group. See [Item#Attributes#groups](lua-api-item.md#groups) for more details.

#### `output`

Expand Down

0 comments on commit 82c52bc

Please sign in to comment.