mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-25 23:39:43 -05:00
5a64d7452e
Currently translated at 100.0% (2 of 2 strings) Translated using Weblate (Ukrainian) Currently translated at 100.0% (2 of 2 strings) Added translation using Weblate (Ukrainian) Translated using Weblate (Ukrainian) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/uk/ Translated using Weblate (Norwegian Bokmål) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nb_NO/ Translated using Weblate (French) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/fr/ Added translation using Weblate (Ukrainian) Co-authored-by: Allan Nordhøy <epost@anotheragency.no> Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Localisation Lab <ao@localizationlab.org> Co-authored-by: ihor_ck <igor_ck@outlook.com> Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/uk/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/uk/ Translation: OnionShare/Doc - Index Translation: OnionShare/Doc - Sphinx |
||
---|---|---|
.. | ||
gettext | ||
source | ||
build.sh | ||
make.bat | ||
Makefile | ||
README.md | ||
requirements.txt |
OnionShare Documentation
All these commands must be run from the docs
folder.
You must have the python dependencies installed to build the docs:
pip3 install --user -r requirements.txt
To build HTML docs:
make html
Then open docs/build/html/index.html
in a browser to see it.
To update all of the translations and build all the html, run:
./build.sh
You will end up with the documentation in all supported locales in docs/localized_html
.
Here's how preparing translations works:
# Generate .po files in build/gettext
make gettext
# Create a new blank German locale in source/locale, based on .po files
sphinx-intl update -p build/gettext -l de
# Build German translated document
make -e SPHINXOPTS="-D language='de'" html