diff --git a/.readthedocs.yml b/.readthedocs.yml index 7ac1f46..b98090c 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,8 @@ build: python: "3" commands: + # TEMPORARY: build the Persian (fa) translation to preview RTL support. - git clone --depth=1 https://github.com/python/cpython - - make html CPYTHON_PATH=cpython + - git clone --depth=1 https://github.com/python/python-docs-fa cpython/Doc/locales/fa/LC_MESSAGES + - make html CPYTHON_PATH=cpython SPHINXERRORHANDLING= SPHINXOPTS="-D language=fa -D html_theme_options.is_rtl=true" - mv cpython/Doc/build _readthedocs diff --git a/python_docs_theme/layout.html b/python_docs_theme/layout.html index 1903fad..2bd2274 100644 --- a/python_docs_theme/layout.html +++ b/python_docs_theme/layout.html @@ -6,7 +6,7 @@

{{ _('Navigation') }}