1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-16 16:10:58 +00:00
OpenMW/docs/source
psi29a 40cab76de5 Merge branch 'fonts' into 'master'
Enhance a way to setup fonts and layout files

See merge request OpenMW/openmw!2112
2022-07-18 17:36:31 +00:00
..
_static
manuals Fix links to the wiki 2022-07-01 15:38:38 +02:00
reference Updated documentation 2022-07-18 10:38:55 +04: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