Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add Methods rubric header even without listing a table #584

Open
glemaitre opened this issue Oct 11, 2024 · 0 comments
Open

Add Methods rubric header even without listing a table #584

glemaitre opened this issue Oct 11, 2024 · 0 comments

Comments

@glemaitre
Copy link

When using numpydoc_show_class_members = True in the config, the class methods are listed in a table as follow:

image

In scikit-learn, we recently switch to pydata-sphinx-theme that has a right-hand side navigation showing the same information. We therefore turn the flag to False. The rendering is looking as:

image

While we get what we expect (no table listing the methods), we also don't get the rubric title "Methods".

I was wondering if there is still a way to get the rubric name even though we don't want to have the table listed?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant