From 426ee5bd3fbd3c0ed6bd3784fca12b449a8a946c Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 4 Dec 2017 17:03:22 +0000 Subject: [PATCH] Fix lua_api.html links --- en/chapters/inventories.md | 2 +- en/chapters/itemstacks.md | 2 +- en/chapters/player_physics.md | 2 +- en/chapters/readmore.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en/chapters/inventories.md b/en/chapters/inventories.md index 807dd62..8209f75 100644 --- a/en/chapters/inventories.md +++ b/en/chapters/inventories.md @@ -102,7 +102,7 @@ minetest.create_detached_inventory("inventory_name", callbacks) {% endhighlight %} This creates a detached inventory or, if the inventory already exists, it is cleared. -You can also supply a [table of callbacks](../lua_api.html#detached-inventory-callbacks). +You can also supply a [table of callbacks]({{ page.root }}lua_api.html#detached-inventory-callbacks). ## InvRef and Lists diff --git a/en/chapters/itemstacks.md b/en/chapters/itemstacks.md index 82e0ed4..82bea89 100644 --- a/en/chapters/itemstacks.md +++ b/en/chapters/itemstacks.md @@ -134,5 +134,5 @@ items:set_metadata(meta) ## More Methods Have a look at the -[list of methods for an ItemStack](http://rubenwardy.com/minetest_modding_book/lua_api.html#methods_5). +[list of methods for an ItemStack]({{ page.root }}lua_api.html#methods_5). There are a lot more available than talked about here. diff --git a/en/chapters/player_physics.md b/en/chapters/player_physics.md index a8aab95..11b9308 100644 --- a/en/chapters/player_physics.md +++ b/en/chapters/player_physics.md @@ -36,7 +36,7 @@ minetest.register_chatcommand("antigravity", { ## Available Overrides player:set_physics_override() is given a table of overrides.\\ -According to [lua_api.txt](../lua_api.html#player-only-no-op-for-other-objects), +According to [lua_api.txt]({{ page.root }}lua_api.html#player-only-no-op-for-other-objects), these can be: * speed: multiplier to default walking speed value (default: 1) diff --git a/en/chapters/readmore.md b/en/chapters/readmore.md index 5b49554..ecbf49c 100644 --- a/en/chapters/readmore.md +++ b/en/chapters/readmore.md @@ -10,7 +10,7 @@ After you've read this book, take a look at the following ### Minetest Modding -* Minetest's Lua API Reference - [HTML version](../lua_api.html) | +* Minetest's Lua API Reference - [HTML version]({{ page.root }}lua_api.html) | [Text version](https://github.com/minetest/minetest/blob/master/doc/lua_api.txt). * Explore the [Developer Wiki](http://dev.minetest.net/Main_Page). * Look at [existing mods](https://forum.minetest.net/viewforum.php?f=11).