onionshare/docs
Hosted Weblate d50f8b8e7f
Translated using Weblate (Swedish)
Currently translated at 50.0% (1 of 2 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (2 of 2 strings)

Translated using Weblate (Danish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/da/

Translated using Weblate (Polish)

Currently translated at 2.5% (1 of 40 strings)

Translated using Weblate (Polish)

Currently translated at 2.9% (1 of 34 strings)

Translated using Weblate (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/zh_Hans/

Translated using Weblate (Polish)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/pl/

Translated using Weblate (Dutch)
Translate-URL: https://hosted.weblate.org/projects/onionshare/translations/nl/

Co-authored-by: Atrate <Atrate@protonmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Raymond Li <hi@raymond.li>
Co-authored-by: emma peel <emma.peel@riseup.net>
Co-authored-by: scootergrisen <scootergrisen@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-advanced/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-develop/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/pl/
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-sphinx/sv/
Translation: OnionShare/Doc - Advanced
Translation: OnionShare/Doc - Develop
Translation: OnionShare/Doc - Sphinx
2020-10-02 17:41:01 +02:00
..
gettext Migrate docs dependencies from requirements.txt to poetry 2020-09-20 20:30:54 -07:00
source Translated using Weblate (Swedish) 2020-10-02 17:41:01 +02:00
build.sh alphabetical order makes easier to check languages 2020-09-18 13:29:10 +00:00
make.bat Start adding documentation into the source tree 2020-08-23 22:52:43 -04:00
Makefile Start adding documentation into the source tree 2020-08-23 22:52:43 -04:00
poetry.lock Migrate docs dependencies from requirements.txt to poetry 2020-09-20 20:30:54 -07:00
pyproject.toml Migrate docs dependencies from requirements.txt to poetry 2020-09-20 20:30:54 -07:00
README.md Migrate docs dependencies from requirements.txt to poetry 2020-09-20 20:30:54 -07:00

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