hi
build of 5.0.0 fails for me with:
GEN doc/build/*.txt
/usr/bin/sphinx-build -q -b text "source" "build"
Exception occurred:
File "/usr/python3/site_python3/lib64/Sphinx.egg/sphinx/writers/text.py", line 853, in visit_definition_list_item
self._classifier_count_in_li = len(node.traverse(nodes.classifier))
TypeError: object of type 'generator' has no len()
The full traceback has been saved in /tmp/sphinx-err-z6x5h6on.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[2]: *** [Makefile:93: build/CONTRIBUTING.txt] Error 2
make[1]: *** [Makefile:94: pkgdoc] Error 2
make[1]: Leaving directory '/home/balducci/tmp/install-us-d/modules-5.0.0.d/modules-5.0.0'
Turns out that this is due to doc/source/design/variants.rst being broken in the same way as described in #306
Applying the same fix as then allows the build to complete successfully.
Using Sphinx-4.2.0
Thanks a lot for your work
ciao
-gabriele