-
Notifications
You must be signed in to change notification settings - Fork 196
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
How to render Doxygen xml output into markdown instead of reST (using MyST-Parser) #460
Comments
Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗 |
Heya, so firstly to note the syntax should look like:
But I think there may still be some issues with using breathe directly, which does some "non-standard" things: #322, #323 As mentioned in thos issues though, I think the workaround is to use the
|
Thaks @chrisjsewell , it has solved my issue. By the way, I am having another issue now related to For Example I have now chosen the mentioned class
namespace X{
class A{
public:
int x;
/// This will do priniting task
void Print_Message();
};
} While I have written
I can easily link the class and it's any member as like as follows:
This [:cpp:class:
This [:cpp:class:
This gives me a string Unfortunately, I am not finding any way to do it using
In the
I know that the above two are not working.
as by this all I have no clue how to achieve those. |
Note, this in rst: Function is :cpp:func:`this <void X::A::Print_Message()>` In myst is just: Function is {cpp:func}`this <void X::A::Print_Message()>` Does that solve your question? |
@chrisjsewell thanks a lot, It has solved my question.
or something else?
I believe that I have missed most important parts somehow. Still I am reading but could not get the point. |
Note, the Breathe issue (#460 (comment)) should be fixed in the next Breathe release. |
In summary, my desire: is to know is it possible to fetch
Doxygen XML output
and dump them in.md
file usingMyST-Parser
?Doxygen XML output
and dump them in.rst
file is done by breathe.I am preparing a project documentation using
Sphinx
where to fetchDoxygen XML output
I have used breathe. I am using the breathe directive in.rst
files.I am using:
Sphinx version : 4.2.0
Doxygen version: 1.8.17
Breathe version: 4.31.0
sample.cpp
in my
rst
file I just addedAfter building the project I can see detailed documentation of
class A
. For some reason, I have the intention to use themarkdown
file instead of.rst
. At that time I have seen myST-Parser in Sphinx Doc.But, I was unable to catch the
Doxygen XML output
as like as done bybreathe
. I have gone through several posts but could not find any fruitful answer. The best one I have got this StackOverflow answer.conf.py
by addingextensions = ["myst_parser",]
Written a
.md
file as like as follows:But failed while the error message is
Also tried
Failed too and the error message
I have used following snipet in
.md
filewhich has shown rendered class but only the name with a clickable link where no documentation of Doxygen XML is present. And I need that info.
No idea what to do at this stage.
Some of my observance:
Sphinx directive
in markdown fileDoxygen XML output
and to write inreST
style usingSphinx
Now my desire is to know, is it possible to add
Doxygen XML output
in the.md
file? If Yes, where am I am making the syntax wrong?The text was updated successfully, but these errors were encountered: