2018-06-28 00:55:59 +03:00
|
|
|
---
|
|
|
|
---
|
|
|
|
|
2018-07-15 17:28:10 +03:00
|
|
|
{% assign pages = site.en | sort: "idx" %}
|
2018-09-24 17:59:56 +03:00
|
|
|
{% assign num = 0 %}
|
2018-07-15 17:28:10 +03:00
|
|
|
|
2018-06-28 00:55:59 +03:00
|
|
|
[
|
2018-07-15 17:28:10 +03:00
|
|
|
{% for link in pages %}
|
2018-09-24 17:59:56 +03:00
|
|
|
{% assign idsplit = link.id | split: '/' %}
|
|
|
|
{% assign section = idsplit[2] %}
|
|
|
|
|
2018-06-28 00:55:59 +03:00
|
|
|
{
|
2018-07-15 17:28:10 +03:00
|
|
|
"idx": {{ link.idx }},
|
2018-06-28 00:55:59 +03:00
|
|
|
"title": "{{ link.title }}",
|
2018-07-25 17:52:41 +03:00
|
|
|
"loc": "https://rubenwardy.com/minetest_modding_book/{{ link.url }}",
|
2018-06-28 01:14:43 +03:00
|
|
|
{% if link.description %}
|
|
|
|
"description": "{{ link.description }}",
|
|
|
|
{% endif %}
|
2018-06-28 00:55:59 +03:00
|
|
|
"priority": 1
|
2018-09-24 17:59:56 +03:00
|
|
|
{% if section != "index" %}, "chapter_number": {{ num }}{% endif %}
|
2018-06-28 00:55:59 +03:00
|
|
|
},
|
2018-09-24 17:59:56 +03:00
|
|
|
|
|
|
|
{% assign num = num | plus:1 %}
|
2018-06-28 00:55:59 +03:00
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
{
|
|
|
|
"title": "Lua Modding API Reference",
|
|
|
|
"loc": "https://rubenwardy.com/minetest_modding_book/lua_api.html",
|
2018-06-28 01:14:43 +03:00
|
|
|
"description": "lua_api.html is an HTML version of lua_api.txt",
|
2018-06-28 00:55:59 +03:00
|
|
|
"priority": 0.75
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
"title": "Download Examples",
|
|
|
|
"loc": "https://github.com/rubenwardy/minetest_modding_book/archive/examples.zip",
|
|
|
|
"priority": 0.5
|
|
|
|
}
|
|
|
|
]
|