Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Insert signature name for use with Sphinx ToC #959

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

scottamain
Copy link

This allows Sphinx to generate an entry in the table of content for each member, using the basic API name (not the full API signature). Here's an example output from a C library, using the sphinx theme:

Screenshot 2023-10-24 at 2 31 36 PM

NOTE: I have not been able to successfully run the Breathe tests. Running make dev-test always fails, even without this change.

Resolves #958

If it's a function, add parentheses to the name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Sphinx ToC generation with _toc_name and _toc_parts attribute
1 participant