-
Notifications
You must be signed in to change notification settings - Fork 28
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
Cpp domain improvements #64
Conversation
256266d
to
5818d13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First glance
I'll dive into the src changes later. This is just what I noticed in the docs changes.
353a1c7
to
0db39ef
Compare
724a9ed
to
fb76c7d
Compare
6c9a245
to
2b71ddc
Compare
Thanks for your review @2bndy5 --- I believe I have now addressed all of your comments. I also added some new functionality --- synopses of C/C++ domain objects displayed as tooltips and in search results. |
This extension allows signatures to be formatted using clang-format.
6cddf84
to
49d267b
Compare
To be clear, Whether the individual parameters themselves end up in the TOC is independent of that currently, and requires domain-specific support --- this PR adds support for that to the C++ domain (in the cross-link parameters commit). And in the tensorstore docs I also do that for Python and JSON, but those changes aren't part of this theme yet. However, it looks a bit weird to have the individual parameters in the TOC without a "Parameters" heading. |
I must have been mis-remembering this. I thought that hovering over a confval ToC entry or inline xref would yield a tooltip like "option_name (confval)". But, I can't seem to find an example of this anywhere (not even in sphinx-doc.org). Please disregard. |
49d267b
to
708cb6a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As always these changes go above and beyond my expectations! Thank you for this!
I'm going to tag the master branch head, but I wanted to ask if you think this is a minor version bump or a patch bump. I've been using minor version bumps for merges from upstream, so I'm leaning toward a patch version bump. |
In general patch -> bug fixes only, while minor -> backwards compatible feature addition. I think if we synchronized our version numbers with mkdocs-material then a patch bump could make sense, but so far we have not done that, and as we add more independent sphinx-related functionality to this theme (such as in this PR), the upstream changes from mkdocs-material may not necessarily be the most significant changes. So I think minor version bump would make sense as well here, and maybe we won't bother to use a patch bump. |
Well I pushed a v0.5.0 tag, and setuptools_scm interpreted it as I'm guessing the |
Previously, binary files like .gif were being incorrectly converted, leading to a dirty working tree and `post` version numbers selected by setuptools_scm. #64 (comment)
I have a fix for the version number issue. I removed the v0.5.0 tag and the post release from pypi --- we can push a new v0.5.0 tag once the PR is merged. |
Previously, binary files like .gif were being incorrectly converted, leading to a dirty working tree and `post` version numbers selected by setuptools_scm. #64 (comment)
This adds a number of improvements for the C++ domain:
#include
directives in C++ signatures to indicate the required header