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

When rendering template params, insert name by parsing #681

Merged

Conversation

jakobandersen
Copy link
Collaborator

Fixes #652, when Sphinx 4.1 is used (currently the 4.x branch, see https://github.com/sphinx-doc/sphinx/milestone/100). Thus, this PR implicitly depends on #676.

Uses internals in the C++ domain to parse the type and then inject the declname.

@jakobandersen jakobandersen force-pushed the insert_name_by_parsing branch 2 times, most recently from 0b8fa7f to 5edbf0a Compare April 20, 2021 19:57
@vermeeren vermeeren self-requested a review April 23, 2021 00:47
@vermeeren vermeeren self-assigned this Apr 23, 2021
@vermeeren vermeeren added bug Problem in existing code code Source code labels Apr 23, 2021
Copy link
Collaborator

@vermeeren vermeeren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakobandersen Nice, thanks!

Uses internals in the C++ domain.
Needs Sphinx 4.1.

Fixes breathe-doc#652
@michaeljones michaeljones merged commit c1d5d5a into breathe-doc:master Apr 23, 2021
michaeljones pushed a commit that referenced this pull request Apr 23, 2021
@jakobandersen jakobandersen deleted the insert_name_by_parsing branch April 23, 2021 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Problem in existing code code Source code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Spurious error with function pointer as template argument
3 participants