You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a field list contains more then one "meta"-field, the generated documentation shows all but the first meta-field.
It is a classical coding bug: the function sphinx.domain.python.filter_meta_fields stops removing meta fields after the first meta-field.
Describe the bug
If a field list contains more then one "meta"-field, the generated documentation shows all but the first meta-field.
It is a classical coding bug: the function sphinx.domain.python.filter_meta_fields stops removing meta fields after the first meta-field.
How to Reproduce
Generated documentation contains a box with the text
Meta hide-value:
.Expected behavior
The generated documentation does not contain any traces of the meta-fields.
Your project
Screenshots
No response
OS
Linux
Python version
3.6
Sphinx version
5.x and 4.5.x
Sphinx extensions
sphinx.ext.autodoc
Extra tools
No response
Additional context
The function filter_meta_fields was introduced by commit b968bb9, which closes #6830
I'll provide a pull request with a test and a fix.
The text was updated successfully, but these errors were encountered: