| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 9a9dcab commit 3710104
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,6 +10,8 @@ build: | |||
| 10 | 10 | python: "3" | |
| 11 | 11 | ||
| 12 | 12 | commands: | |
| 13 | + # TEMPORARY: build the Persian (fa) translation to preview RTL support. | ||
| 13 | 14 | - git clone --depth=1 https://github.com/python/cpython | |
| 14 | - - make html CPYTHON_PATH=cpython | ||
| 15 | + - git clone --depth=1 https://github.com/python/python-docs-fa cpython/Doc/locales/fa/LC_MESSAGES | ||
| 16 | + - make html CPYTHON_PATH=cpython SPHINXERRORHANDLING= SPHINXOPTS="-D language=fa -D html_theme_options.is_rtl=true" | ||
| 15 | 17 | - mv cpython/Doc/build _readthedocs | |
| Back | FazBrowse Home | New Git URL |
0 commit comments