Building LUA documentation using NaturalDocs 2.x (Linux)
Posted: Tue Mar 14, 2023 9:18 pm
Building the LUA documentation locally is pretty simple. In case you want to use the (currently unsupported) NaturalDocs v2.x in Linux:
edit:
Standard NaturalDocs does not recognize the "Attribute" keyword used in the pioneer lua files. To include documented attributes/variables in the local lua reference you need to edit (or place a new) Comments.txt into the project folder (/path_to_your_pioneer_folder/naturaldocs) that includes:
- install mono ("mono-devel" package for openSUSE)
- download NaturalDocs from https://naturaldocs.org/download/ and extract
- create the following folders (or any others where the documentation and the NaturalDocs project files should go):
- /path_to_your_pioneer_folder/naturaldocs
- /path_to_your_pioneer_folder/naturaldocs/docs
- run from command line:
Code: Select all
mono NaturalDocs.exe -i /path_to_your_pioneer_folder -o HTML /path_to_your_pioneer_folder/naturaldocs/docs -p /path_to_your_pioneer_folder/naturaldocs
Standard NaturalDocs does not recognize the "Attribute" keyword used in the pioneer lua files. To include documented attributes/variables in the local lua reference you need to edit (or place a new) Comments.txt into the project folder (/path_to_your_pioneer_folder/naturaldocs) that includes:
Code: Select all
Code: Select all
Alter Comment Type: Variable
Keywords:
Attribute
Attributes