-
Notifications
You must be signed in to change notification settings - Fork 645
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
Remove Breathe #1986
Remove Breathe #1986
Conversation
8286185
to
a3c8ba5
Compare
@@ -73,7 +73,6 @@ | |||
# -- General configuration ------------------------------------------------ | |||
|
|||
extensions = [ | |||
"breathe", |
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.
why was breathe removed?
Will it affect nordic's documentation team?
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.
Breathe was a resource hog for the project, so an alternative has been introduced. We are all aware and already have a working solution that is to serve Doxygen content as upstream does. Btw, documentation CI will be much faster, so no workarounds to make it fast will be needed.
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.
MCUmgr doc OK
Some extensions may be able to run faster if they can check if Doxygen contents has changed from one build to the other Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 02ad7ef)
…:c:enumerator: While Breathe seems to not care and creates hyperlinks either way, the proper role to mention a C enumerator is :c:enumerator:. :c:enum: is to be used to refer to the enum itself. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 5a5fd7c)
… c domain roles Simplify how the code sample refers to C objects to be less dependant on Breathe. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit f2227bb)
Do not pass options to doxygengroup to rationalize usage and be less dependent on Breathe. Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 385f8e1)
Deactivate breathe extension from docs. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit 259db8c)
Add an initial version of doxybridge, an extension that allows to use Sphinx C domain to automatically reference Doxygen pages. It also introduces minimal support for `.. doxygengroup` directive, which effectively links to the group's Doxygen page. Co-authored-by: Benjamin Cabé <[email protected]> Signed-off-by: Gerard Marull-Paretas <[email protected]> Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit c8c3a3b)
Enable the doxybridge extension. Signed-off-by: Gerard Marull-Paretas <[email protected]> (cherry picked from commit ea14a07)
Minor cosmetic update post Breathe removal Signed-off-by: Benjamin Cabé <[email protected]> (cherry picked from commit 162fa76)
The newly insterted directive is patching the new Zephyr bridge extension instead of breathe's one. Doxybridge does not support the same arguments as breathe, so, Zephyr domain can't be used on projects that still use breathe. Disable until all NCS projects are ported. Signed-off-by: Gerard Marull-Paretas <[email protected]>
acba4a5
to
ce86ca2
Compare
No description provided.