Docutils AttributeError while using sphinx to build a document
Descriptioins I am currently using sphinx to build a document for an existing project, When I am trying to use make html to build, something went error. It says: File “/home/user/anaconda3/envs/doc/lib/python3.8/site-packages/docutils/parsers/rst/states.py”, line 2933, in eof if self.memo.section_bubble_up_kludge: AttributeError: ‘Struct’ object has no attribute ‘section_bubble_up_kludge’ Environments Here are my python environments. Python 3.8.19 Package Version —————————– […]
Solve docutils error when querying `self.state.document.current_source` in Sphinx extension, or better way to get filepath
Consider a generic Directive as the basis for a new extension. I’ll only show the code that elicits an error.