mirror of
https://github.com/onionshare/onionshare.git
synced 2024-10-01 01:35:40 -04:00
a3bd161416
Currently translated at 9.0% (1 of 11 strings) Translated using Weblate (Bengali) Currently translated at 100.0% (2 of 2 strings) Translated using Weblate (Bengali) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/bn/ Added translation using Weblate (Bengali) Added translation using Weblate (Bengali) Added translation using Weblate (Bengali) Translated using Weblate (Indonesian) Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/id/ Co-authored-by: Hosted Weblate <hosted@weblate.org> Co-authored-by: Oymate <dhruboadittya96@gmail.com> Co-authored-by: Reza Almanda <rezaalmanda27@gmail.com> Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-index/bn/ Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-security/bn/ Translation: OnionShare/Doc - Index Translation: OnionShare/Doc - Security |
||
---|---|---|
.. | ||
gettext | ||
source | ||
build.sh | ||
make.bat | ||
Makefile | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
OnionShare Documentation
All these commands must be run from the docs
folder.
You must have the python dependencies installed to build the docs:
poetry install
To build HTML docs:
poetry run 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:
poetry 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