-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
Add rendering of \section, \subsection and \subsubsection #635
Conversation
For \section aka sect1, \subsection aka sect2 and \subsubsection aka sect3, separate title into a simple string instead of adding to content. This allows for easier creation of a proper title in the renderer. Signed-off-by: Fabio Utzig <[email protected]>
This should fix the issue mentioned here: #395 (comment) One thing that is not working here are the |
\section, \subsection and \subsubsection are commands that can be added to \page for creating multi-level section rendering, including a title and content. https://www.doxygen.nl/manual/commands.html#cmdsection https://www.doxygen.nl/manual/commands.html#cmdsubsection https://www.doxygen.nl/manual/commands.html#cmdsubsubsection Implement the rendering using Docutils nodes.title() which already uses the structure of the document to attribute a proper heading level, which should not need extra handling since the Doxygen XML already guarantees the proper structure. Signed-off-by: Fabio Utzig <[email protected]>
@utzig Is this ready for review and merging in your eyes? |
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.
@utzig All good here too, will check the final open PR and then make a release.
\section, \subsection and \subsubsection are commands that can be added to \page for creating multi-level section rendering, including a title and content.
https://www.doxygen.nl/manual/commands.html#cmdsection
https://www.doxygen.nl/manual/commands.html#cmdsubsection
https://www.doxygen.nl/manual/commands.html#cmdsubsubsection
Implement the rendering using Docutils nodes.title() which already uses the structure of the document to attribute a proper heading level, which should not need extra handling since the Doxygen XML already guarantees the proper structure.