Open johnmcfarlane opened 4 years ago
As posted in the Sphinx issue, the actual crash is because of Sphinx. The duplicate filenames I guess is Breathe-related. The trailing return types should be working in the upcoming Sphinx v3.1.
After removing the ,<3.1
from line 18 of setup.py, I was able to get past the reported error. The next fatal error (following the same repro steps) is:
breathe.file_state_cache.MTimeError: Cannot find file: /home/john/ws/revision/generate/xml/cpp/types/add_cv.xml
This is caused by a tag file which pulls in a large number of references to external pages. Here is the new traceback.
LMK if I should open a new Sphinx issue. Thanks!
Describe the bug I'm trying to convert a project from Doxygen to Doxygen/Breathe/Sphinx and cannot get past an exception being thrown on invocation of
sphinx-build
:No other information is given although there are numerous warnings related to parsing of C++ code and apparent confusion over files from different directories with the same filename:
To Reproduce Steps to reproduce the behavior on Ubuntu 20.04:
You can see the output in a CI job here.
Expected behavior I'm still at the exploratory phase where I require Sphinx to generate HTML for all of the code in my project. I'd expect to find a file, gh-pages/index.html, which contains links to the APIs in my library. It's hard to say how I'll achieve that until I can get output for all of those APIs.
Your project Project: CNL
Screenshots N/A
Environment info
pip
version)Additional context When run locally, here's the traceback for the
sphinx-build
command. And here is the full output including thedoxygen
andbreathe-apidoc
commands as well.I think that it should be possible to reproduce the error without invoking
breathe-apidoc
but it's not entirely clear what is causing the exception: there are several warnings.