We use UV to maintain the development environment for the documentation. Install dependencies with
uv syncActivate the environment with
source ./.venv/bin/activateFollowing the product in 2025.9.0, the documentation uses Lucide icons since 2026.5.0.
Icons usage in RST:
|name|— old Fontawesome shortcut for an icon "name", now mapped to a Lucide icon (seeshortcut_icon_mapinicon_mappings.py)|cptools name|— old CPTools shortcut for an icon "name" (custom web font), now mapped to a Lucide icon (seecptools_icon_map)|icon name|— Lucide icon "name" (new)
To add or change a shortcut mapping, edit icon_mappings.py and rebuild. No .rst or .po change is needed unless you introduce a new shortcut string.
Lucide names are listed in conf_icons.py, generated from _themes/theme/static/js/lucide.min.js:
python scripts/generate_lucide_icons.pyRun again after replacing lucide.min.js.
Admonitions, permalinks, and sidebar expand/collapse are handled by lucide-theme.js. Their icon names are set in icon_mappings.py / conf.py (html_context to lucide_theme_config). Other theme UI (prev/next, breadcrumbs, mobile menu) uses Lucide in the templates under _themes/theme/.
English en is the default language.
to build the default:
make htmlto build another language, e.g. French:
make -e SPHINXOPTS="-D language='fr'" htmlView the result in /_build/html/
If you are interested in translating this documentation, you can use our Weblate project for the user guide. If your language is not listed, please contact the development team to add it.
To add a new language
sphinx-intl update --pot-dir _build/gettext -l de
change de to the locale you want to add
To update after default language has changed:
sphinx-intl update -p _build/localeTo generate .po files for a new language e.g. French:
make gettext
sphinx-intl update -p _build/gettext -l frupdate.sh updates all languages after English has changed:
./update.shbuild.sh builds all languages into the www folder:
./build.sh- add language code to
LANGand leave an empty line at the end of the file - add the
<option>to_themes/theme/layout.htmlline 109
Images for English are in the /images folder.
To provide localised versions of images, place them in a folder such as images/fr/.
The content of this documentation is licensed under the Creative Commons Attribution 4.0 International (CC-BY).
The theme is modified from the Krita documentation and licensed under the GNU Free Documentation License.