- Purpose: Sphinx documentation for Geoalert Mapflow; default language is English with Russian translations (see
source/locale). - Stack: Sphinx 4.2 with RTD theme, rst2pdf, sphinxemoji, sphinx-favicon, custom
edit_on_github. - Setup:
python3 -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt(activate venv first if it already exists). - Build EN only:
make -e BUILDDIR="build/docs/en" html(ormake html). - Build EN+RU:
make build-all(runs gettext + sphinx-intl, then html for both languages). - Live preview:
sphinx-autobuild source build/autobuildafter installingsphinx-autobuild. - Translations: run
make gettextthensphinx-intl update -p build/gettext -l ru; edit PO files undersource/locale/<lang>/LC_MESSAGES. - Key sources:
source/index.rstentrypoint, user guides insource/userguides/, API refs insource/api/, config insource/conf.py. - Contribute: keep reST syntax intact, align with documented Sphinx options, avoid breaking links/assets in
_staticand_templates.