This repository builds the Effekseer HTML documentation with Sphinx.
- Python 3
- pip
- virtualenv
makeon macOS or Linux
Install the Python dependencies in a virtual environment. This keeps the docs toolchain isolated from globally installed Python tools such as Poetry.
python3 -m pip install --user --upgrade pip virtualenv
python3 -m virtualenv .venv
. .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
make htmlpy -m pip install --user --upgrade pip virtualenv
py -m virtualenv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
make.bat htmlThe generated HTML files are written to build/html.
Do not open the generated files with file://... in a browser. Some pages embed
effect viewers in iframe elements, and those viewers load .wasm and effect
files at runtime. Browsers often block those requests when the page is opened
directly from the filesystem.
Use a local HTTP server instead.
python3 Scripts/preview_docs.pyThen open http://127.0.0.1:8000/.
To use a different port:
python3 Scripts/preview_docs.py --port 8080python Scripts/preview_docs.pyThen open http://127.0.0.1:8000/.