Skip to content

Commit

Permalink
Disable translation_progress_classes
Browse files Browse the repository at this point in the history
Sphinx does not properly convert command-line overrides
to Boolean values, so ``-D translation_progress_classes=1``
fails with:

    Sphinx parallel build error:
    sphinx.errors.ConfigError: translation_progress_classes must be True, False, "translated" or "untranslated"
  • Loading branch information
AA-Turner committed Jan 18, 2025
1 parent b3f238f commit be699c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ def build(self):
f"-D locale_dirs={locale_dirs}",
f"-D language={self.language.iso639_tag}",
"-D gettext_compact=0",
"-D translation_progress_classes=1",
# "-D translation_progress_classes=1",
)
)
if self.language.tag == "ja":
Expand Down

0 comments on commit be699c4

Please sign in to comment.