-
Notifications
You must be signed in to change notification settings - Fork 902
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
Generate unified Python/C++ docs #13846
Conversation
42f2fe0
to
582b455
Compare
582b455
to
18d7dc2
Compare
18d7dc2
to
84d9a11
Compare
/ok to test |
Doxygen-generated XML is parsed by Breathe, so this is a prerequisite for #13846. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Karthikeyan (https://github.com/karthikeyann) URL: #14477
07c89c4
to
b342de8
Compare
5022e4e
to
b4e2516
Compare
80c40ed
to
dc5191d
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.
if a new documented function or a new doxygen group is not added in one of these .rst
files, will this workflow be able to find it? (& throw a warning or failure).
How?
In the interest of moving forward in more incremental steps, I've put back doxygen HTML generation, so this PR won't disable those docs yet. We can do that at a later date when we're happier with the output of the Sphinx C++ documentation. Merging this PR in closer to its current state will allow us to iterate and improve more easily than having to perfect the appearance in this PR before removing the doxygen HTML. |
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.
Approving C++ changes
/merge |
In my initial pass through enabling Breathe I tried to leave a minimal footprint of external modification to the generated files. In this particular case it looks like the problematic attributes can appear in more places than I originally observed. I never observed this behavior in that PR, but I don't know if these now appear due to something that merged after #13846 or something else changing in the environment (e.g. a Sphinx or doxygen behavior etc). Nonetheless, blanket wiping these is the simpler and safer option. The docs build successfully locally with this change. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Bradley Dice (https://github.com/bdice) URL: #14780
Description
This PR leverages Breathe to pull the cudf C++ API documentation into the python Sphinx docs build, generating a single unified build of the documentation that supports cross-linking between language libraries and also simplifies cross-linking from other libraries that wish to link here.
This PR also revealed numerous other issues with our doxygen docs. I've submitted those as separate patches to control the diff here, but it's worth noting that Sphinx is much louder with warnings than doxygen and will help us avoid many more issues with broken documentation than doxygen alone could.
Resolves #11481
Checklist