onionshare/docs
Hosted Weblate 413aa3dc7f
Translated using Weblate (Spanish)
Currently translated at 100.0% (21 of 21 strings)

Co-authored-by: emma peel <emma.peel@riseup.net>
Translate-URL: https://hosted.weblate.org/projects/onionshare/doc-install/es/
Translation: OnionShare/Doc - Install
2020-09-14 13:52:51 +02:00
..
gettext Remove languages from index of docs, and make docs build.sh build a different set of docs for each version 2020-09-03 11:52:02 -07:00
source Translated using Weblate (Spanish) 2020-09-14 13:52:51 +02:00
build.sh Remove languages from index of docs, and make docs build.sh build a different set of docs for each version 2020-09-03 11:52:02 -07: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
README.md Add the same locales that OnionShare is translated into 2020-08-26 21:13:53 -07:00
requirements.txt Switch to sphinx-rtd-theme and use sphinx-intl 2020-08-24 19:30:21 -04:00

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