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
{{ message }}
Repository navigation
Autosummary should respect :meta public: and :meta private: #8700
List containing names of “public” functions in the module. Here, “public” here means that the name does not start with an underscore. Only available for modules.
If the bold part can be changed to does not start with an underscore and does not have :meta: private, the issue should be resolved.
Describe alternatives you've considered
Customize the autosummary template to exclude each single function that I would like to exclude. Quite tedious though.
Reacted by Paul Wiemann, Viktor Penelski, emezh, Mark Rucker, aeisenbarth, Damien Desfontaines and Callum Macpherson
I consolidated #8922 into this issue because both have the same underlying cause, which is that autosummary does not inspect docstring metadata when constructing its public template member lists.
The combined scope should cover both directions:
:meta private: excludes an otherwise public member.
Activity
jdillard commentedon Aug 6, 2026
I consolidated #8922 into this issue because both have the same underlying cause, which is that autosummary does not inspect docstring metadata when constructing its public template member lists.
The combined scope should cover both directions:
:meta private:excludes an otherwise public member.:meta public:includes an otherwise private, underscored member. (formally covered in Autosummary does not respect autodoc's :meta public: #8922)A single PR should address both behaviors.
[-]Let autosummary respect `:meta private:`[/-][+]Autosummary should respect `:meta public:` and `:meta private:`[/+]