You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since #8058, using -D gettext_compact=0 to have multiple .po files does no longer works. Instead it gives a single 0.po file.
To Reproduce
Steps to reproduce the behavior:
$ git clone https://github.com/python/cpython
$ cd cpython/Doc
$ sphinx-build -b gettext -D gettext_compact=0 . ../pot
$ ls ../pot # and see 0.po instead of one `.po` file per rst file.
Since 1bf7fe4, ``-D gettext_compact=0`` is not treated as disabling
the feature. It is recognized as creating ``0.pot`` because its type is
Any. This changes it to `[bool, str]`.
Describe the bug
Since #8058, using
-D gettext_compact=0
to have multiple.po
files does no longer works. Instead it gives a single0.po
file.To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect one file per
.rst
file, as in https://github.com/python/python-docs-fr.Your project
https://github.com/python/python-docs-fr
Environment info
The text was updated successfully, but these errors were encountered: