Skip to content

No doxygen output generated with breathe #6795

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

Closed
floriantschopp opened this issue Mar 19, 2020 · 7 comments
Closed

No doxygen output generated with breathe #6795

floriantschopp opened this issue Mar 19, 2020 · 7 comments
Labels
Support Support question

Comments

@floriantschopp
Copy link

Hi everyone,

I have a problem when trying to our local build of the maplab documentation to readthedocs.org

When using the Makefile locally, the build takes quite some time and results in successfully (with some warnings but I can fix them later) building the API documentation. On readthedocs, the build is also successful (very fast) but skips the API part. From the build logs, I cannot find a trace of why this could be happening.
I read #5144, #5145, #5076 and #2958 but without finding my issue.

Any help is highly appreciated.

Details

Expected Result

API documentation is generated using doxygen (with breathe/exhale)

Actual Result

Doxygen returns empty.

@stsewd stsewd added the Support Support question label Mar 19, 2020
@stsewd
Copy link
Member

stsewd commented Mar 19, 2020

@floriantschopp we don't execute the make file, we only execute the sphinx-build command as you can see in https://readthedocs.org/projects/maplab/builds/10637813/.

@floriantschopp
Copy link
Author

I just tried to reproduce the exact same setup that is documented in the build log using the same pip setup and sphinx-build command. However, on my local machine exhale still builds my API correctly.

@floriantschopp
Copy link
Author

@stsewd Anything else I can try? Thanks a lot for your assistance.

@stsewd
Copy link
Member

stsewd commented Mar 25, 2020

@floriantschopp sorry, not sure what else to try. When you try locally, did you try in a clean directory? (removing all previous generated files, like _output/output dirs)

@floriantschopp
Copy link
Author

Yea, I built it on a clean directory.

@floriantschopp
Copy link
Author

FYI: I worked around this by using sphinx-multiversion and a self-hosted documentation.

@humitos
Copy link
Member

humitos commented Apr 28, 2020

@floriantschopp from your build output, it seems that breathe is not well configured and it's not finding the source code of the API to document.

[~] Exhale: executing doxygen.
[+] Exhale: doxygen ran successfully in 0.33 seconds.
[~] Exhale: adding tree view css / javascript.
[+] Exhale: added tree view css / javascript.
[~] Exhale: parsing Doxygen XML.
[+] Exhale: finished parsing Doxygen XML in 0.01 seconds.
[~] Exhale: generating reStructuredText documents.
[+] Exhale: generated reStructuredText documents in 0.0 seconds.

From the RTD's output it seems that you are not checking out the submodules and I guess the API you want to document using doxygen is there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants