Fix lua_api.html links

This commit is contained in:
rubenwardy 2017-12-04 17:03:22 +00:00
parent bbaa2a9329
commit 426ee5bd3f
4 changed files with 4 additions and 4 deletions

View File

@ -102,7 +102,7 @@ minetest.create_detached_inventory("inventory_name", callbacks)
{% endhighlight %} {% endhighlight %}
This creates a detached inventory or, if the inventory already exists, it is cleared. 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 ## InvRef and Lists

View File

@ -134,5 +134,5 @@ items:set_metadata(meta)
## More Methods ## More Methods
Have a look at the 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. There are a lot more available than talked about here.

View File

@ -36,7 +36,7 @@ minetest.register_chatcommand("antigravity", {
## Available Overrides ## Available Overrides
player:set_physics_override() is given a table of 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: these can be:
* speed: multiplier to default walking speed value (default: 1) * speed: multiplier to default walking speed value (default: 1)

View File

@ -10,7 +10,7 @@ After you've read this book, take a look at the following
### Minetest Modding ### 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). [Text version](https://github.com/minetest/minetest/blob/master/doc/lua_api.txt).
* Explore the [Developer Wiki](http://dev.minetest.net/Main_Page). * Explore the [Developer Wiki](http://dev.minetest.net/Main_Page).
* Look at [existing mods](https://forum.minetest.net/viewforum.php?f=11). * Look at [existing mods](https://forum.minetest.net/viewforum.php?f=11).