Boolean values passed to flag --define
are wrongly interpreted as strings when building Sphinx docs
#13273
Labels
Milestone
Describe the bug
I want to build Sphinx docs locally with
--define autosummary_generate=0
to temporarily disable the autosummary extension. However, my value of 0 is not interpreted as boolean despite that the docs say I should provide 0 or 1 for booleans.How to Reproduce
Note the WARNINGS: they show that sphinx-build does not interpret the 0 as I intended.
Relevant content conf.py:
The text was updated successfully, but these errors were encountered: