Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@ build:

commands:
- git clone --depth=1 https://github.com/python/cpython
- git clone --depth=1 https://github.com/python/python-docs-pl cpython/Doc/locales/pl/LC_MESSAGES
# Build English preview.
- make html CPYTHON_PATH=cpython
- mv cpython/Doc/build _readthedocs
# Build Polish translation preview.
- make html CPYTHON_PATH=cpython SPHINXOPTS="-D language=pl" || true
- mv cpython/Doc/build _readthedocs/pl
Loading