mirror of
https://github.com/minetest/minetest_docs.git
synced 2024-10-05 17:33:08 +02:00
meta - Add configuration document to include
This commit is contained in:
parent
6f5909ab7b
commit
d8f595adf2
@ -1,10 +1,7 @@
|
||||
= Lua Environment
|
||||
include::../include/config.adoc[]
|
||||
:description: Documentation of the global environment Minetest mods run in
|
||||
:keywords: lua, luajit, environment, mod, security, portability, platform, library
|
||||
:toc:
|
||||
:toclevels: 5
|
||||
|
||||
:url-reference-manual: https://www.lua.org/manual/5.1/manual.html
|
||||
|
||||
Minetest uses Lua 5.1. The environment in which Minetest executes mods depends on four factors:
|
||||
|
||||
|
10
include/config.adoc
Normal file
10
include/config.adoc
Normal file
@ -0,0 +1,10 @@
|
||||
Minetest-Docs and contributors
|
||||
:toc:
|
||||
:toclevels: 5
|
||||
|
||||
:imagesdir: ../assets
|
||||
|
||||
:url-docs-repo: https://github.com/minetest/minetest_docs
|
||||
:url-lua-api: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt
|
||||
:url-reference-manual: https://www.lua.org/manual/5.1/manual.html
|
||||
|
@ -1,15 +1,7 @@
|
||||
= Pomegranates
|
||||
Author Minetest-Docs and Contributors
|
||||
v1.0, 2022-01-01
|
||||
include::../include/config.adoc[]
|
||||
:description: A sample template for using AsciiDoc.
|
||||
:keywords: sample
|
||||
:toc:
|
||||
|
||||
// Using an image directory is a good idea, for relative paths!
|
||||
:imagesdir: ../assets
|
||||
|
||||
// URL references:
|
||||
:url-source: https://github.com/minetest/minetest_docs
|
||||
|
||||
This is a sample template of how a good AsciiDoc can be structured.
|
||||
This pragraph describes the purpose of the document.
|
||||
@ -53,4 +45,4 @@ Grows the tree at `pos` if the node at `pos` is a valid pomegranate tree.
|
||||
Sprays tree at `pos` with `pesticide` if it is a registered chemical.
|
||||
|
||||
== Source
|
||||
You can contribute to the documentation at {url-source}[our GitHub repository]!
|
||||
You can contribute to the documentation at {url-docs-repo}[our GitHub repository]!
|
||||
|
Loading…
Reference in New Issue
Block a user