Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Comments on Docutils rst2pseudoxml.py reported error: No role entry for "meth"
Parent
Docutils rst2pseudoxml.py reported error: No role entry for "meth"
docutils's rst2pseudoxml.py is reporting this error: Unknown interpreted text role "meth".
even though the build command: sphinx-build -b html -d build/doctrees source build/html
runs fine and properly displays the method. I suspect I just have some mis-configuration somewhere because the role "meth" seems to be a standard one. I've searched extensively for information about this but haven't found anything that enables debugging it or correcting it.
Command:
rst2pseudoxml.py --strict source/writing.rst
Output:
source/writing.rst:4: (INFO/1) No role entry for "meth" in module "docutils.parsers.rst.languages.en".
The source line is:
`:meth:mymethod` method.
The Sphinx (version 4.2.0) and docutils (version 0.17.1) are installed in a python virtual env for Python3.8.
I appreciate any ideas on how to resolve this!
Post
There is no resolution for this issue as the meth
role is a syntax extension defined by Sphinx, in what it calls the Python "domain". The standard reStructuredText roles that Docutils supports do not include meth
.
0 comment threads