1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-16 16:10:58 +00:00
OpenMW/docs/source
2022-07-15 14:11:32 +02:00
..
_static Integrate Lua doc into sphinx doc (issue #5931) 2021-07-09 20:48:54 +02:00
manuals Fix links to the wiki 2022-07-01 15:38:38 +02:00
reference Remove this line 2022-07-04 18:08:08 +00:00
conf.py Use single script to generate Lua doc 2022-07-13 20:22:24 +02:00
Dockerfile.luadoc Use single script to generate Lua doc 2022-07-13 20:22:24 +02:00
generate_luadoc.sh Remove redundant echo 2022-07-15 14:11:32 +02:00
index.rst
README.md Use single script to generate Lua doc 2022-07-13 20:22:24 +02:00
setup_openmw_luadocumentor.sh Use single script to generate Lua doc 2022-07-13 20:22:24 +02:00
tutorial-style-guide.txt

Source files for OpenMW documentation

Generating Lua scripting API reference

Building Docker image

Run following command from OpenMW source directory to build a new Docker image openmw.luadoc:

docker build -f docs/source/Dockerfile.luadoc -t openmw.luadoc docs/source

Generating HTML

Run following command from OpenMW source directory to generate HTML pages:

docker run --rm --tty --interactive --user "$(id -u)":"$(id -g)" \
    --volume "${PWD}":/openmw openmw.luadoc /openmw/docs/source/generate_luadoc.sh