mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-16 16:10:58 +00:00
.. | ||
_static | ||
manuals | ||
reference | ||
conf.py | ||
Dockerfile.luadoc | ||
generate_luadoc.sh | ||
index.rst | ||
README.md | ||
setup_openmw_luadocumentor.sh | ||
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