Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

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.

Docutils rst2pseudoxml.py reported error: No role entry for "meth"

+3
−0

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!

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+4
−0

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.

History
Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment thread

Replacing docutils's rst2pseudoxml.py with a Sphinx appropriate linter/checker (1 comment)

Sign up to answer this question »