Skip to content

Commit

Permalink
feat(ci): build docs using multiple threads
Browse files Browse the repository at this point in the history
  • Loading branch information
nijel committed Feb 27, 2025
1 parent 6dcabb2 commit 2217ef5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/run-docs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ if ! command -v dot &> /dev/null; then
fi

# Build documentation with warnings treated as errors
make -C docs "${1:-html}" SPHINXOPTS='-n -W -a --keep-going'
make -C docs "${1:-html}" SPHINXOPTS='--nitpicky --fail-on-warning --write-all --keep-going --jobs auto'
4 changes: 4 additions & 0 deletions docs/_ext/djangodocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ def setup(app) -> None:
indextemplate="pair: %s; django-admin command",
parse_node=parse_django_admin_node,
)
return {
"parallel_read_safe": True,
"parallel_write_safe": True,
}


def parse_weblate_admin_node(env, sig, signode):
Expand Down

0 comments on commit 2217ef5

Please sign in to comment.