Skip to content

Commit 863d27f

Browse files
Build Polish translation in RTD preview
1 parent 040f37c commit 863d27f

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.readthedocs.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,12 @@ build:
1111

1212
commands:
1313
- git clone --depth=1 https://github.com/python/cpython
14+
- git clone --depth=1 https://github.com/python/python-docs-pl cpython/Doc/locales/pl/LC_MESSAGES
15+
# Build English preview.
1416
- make html CPYTHON_PATH=cpython
15-
- mv cpython/Doc/build _readthedocs
17+
- mkdir -p _readthedocs/html
18+
- mv cpython/Doc/build/html/. _readthedocs/html
19+
# Build Polish translation preview.
20+
- make html CPYTHON_PATH=cpython SPHINXOPTS="-D language=pl"
21+
- mkdir -p _readthedocs/html/pl
22+
- mv cpython/Doc/build/html/. _readthedocs/html/pl

0 commit comments

Comments
 (0)