-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[MXNET-1164] Generate the document for cpp-package using Doxygen #12977
Conversation
@leleamol Thanks for your contribution! @mxnet-label-bot [pr-awaiting-review, C++] |
@nswamy Could you please take a look into this PR? |
could you paste the generated doxygen files? |
ping @leleamol ! could you please provide the generated doxygen files? |
@nswamy There will be a doxygen file for each hpp and h file in the cpp-package folder. Should I paste all those files here? |
@nswamy ping |
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.
The preview that should exist for this PR isn't there.
Do you have a dev web server that we can preview?
@@ -770,7 +770,7 @@ WARN_LOGFILE = | |||
# spaces. | |||
# Note: If this tag is empty the current directory is searched. | |||
|
|||
INPUT = include src/common | |||
INPUT = include src/common cpp-package/include/mxnet-cpp |
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.
Is this combining the C and C++ API together in one Doxygen output?
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.
@aaronmarkham Yes for now it is combining C and C++ API together until we find out the better way to separate them. C++ API doc will be available under "cpp" namespace and won't collude with the existing doc.
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.
I dont have the dev web server that is publicly accessible for preview.
Restarted the centos CI job... failed due to running out of space. |
@leleamol Can you retrigger the CI for this PR? |
@leleamol Please add I don't know why it runs on 3rdparty - you'd think that the INPUT directive limits things, but if you look at the logs you see:
I tried excluding the 3rdparty folder and that does seem to work... it does a pass through the folder making an exclusion list. WDYT? |
Hi @aaronmarkham I have updated the Doxyfile and excluded the 3rdparty folder. |
@mxnet-label-bot remove [ pr-awaiting-testing ] |
…che#12977) * Adding cpp-package directory to the Doxyfile. Updating the index.md file in c++ api directory. * Updating the link to classes in C++ API to point to correct html file. * Updated the links to use relative paths. * Removed the extra slash character in the url * Excluded the 3rdparty folder as per the review comment.
…che#12977) * Adding cpp-package directory to the Doxyfile. Updating the index.md file in c++ api directory. * Updating the link to classes in C++ API to point to correct html file. * Updated the links to use relative paths. * Removed the extra slash character in the url * Excluded the 3rdparty folder as per the review comment.
Description
The PR includes changes to Doxyfile for generating documents for cpp-package. Also modified the index.md file in api/c++ directory to include brief build instructions and links to the correct classes in mxnet::cpp namespace
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Verified that the doxygen generates the docs for cpp-package.
Comments