Name: sphinx-doc-translations
Owner: sphinx-doc
Description: translated docs for sphinx official document
Created: 2016-01-08 23:41:27.0
Updated: 2018-05-24 15:45:36.0
Pushed: 2018-05-24 15:45:33.0
Homepage: null
Size: 48528
Language: Shell
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This is a project to provide Sphinx official documentation with multiple versions and multiple languages on Read The Docs site.
Current procedure is bit tricky because Read The Docs doesn't have a way to specify options for sphinx-build command. conf.py files for each languages have 'language' and 'locale_dirs' values without having full copy of conf.py of sphinx doc. If we want to specify conf.py file that is out of source directory, we will use '-c' option for sphinx-build command. Unfortunately Read the Docs can't. If there are any better way, please let me know.
RTD project pages for Sphinx:
https://readthedocs.org/projects/sphinx/ (Master)
https://readthedocs.org/projects/sphinx-ja/
https://readthedocs.org/projects/sphinx-pt-br/
https://readthedocs.org/projects/sphinx-es/
Documentation pages for each languages:
http://www.sphinx-doc.org/
http://www.sphinx-doc.org/ja
http://www.sphinx-doc.org/pt_BR
http://www.sphinx-doc.org/es
Detail is here: https://docs.readthedocs.org/en/latest/localization.html#project-with-multiple-translations
Points are:
/locale/update.sh
After that, you should commit updated po files.
add language to locale/update.sh:
rm -R es ja
tx pull -l es,ja
rm -R es ja pt_BR
tx pull -l es,ja,pt_BR
update po files
commit them
add new project on Read The Docs like:
https://readthedocs.org/projects/sphinx-pt-br/
add translation project to parent project like:
https://readthedocs.org/dashboard/sphinx/translations/
add tag 1.7
tag 1.7
replace old version 1_7
with 1_8
in:
release.sh
.travis.yml
commit it and push them:
add release.sh .travis.yml
commit -m "add new version: 1.8"
push --tags
enable version 1.7 on RTD:
https://readthedocs.org/dashboard/sphinx-ja/versions/