Comments (2)
Hi @Visit-Learn,
I am new for this tool, I am not sure that I can ask question here or not.
Sorry for the delay, questions are welcome! Development is slow right now though :S
Edit: also, thanks for a detailed issue report -- was easy to reproduce the problem which helped eventually finding it 🙂
This behavior seems to be a feature of breathe
, I wasn't aware of this until now. Apparently the .. doxygenfunction
directive by default ignores source files. They will create a filter finder which ultimately rage quits for implementation files.
With your current setup, you would need to set breathe_implementation_filename_extensions
to trick it into documenting the .c
files the way you want in your conf.py
:
# example ... could also add '.h'
breathe_implementation_filename_extensions = []
That will succeed in building the docs. Some notes:
-
By default, using the exhale stdin approach,
DOXYGEN_SHOULD_SKIP_THIS
is already defined in addition toDOXYGEN_DOCUMENTATION_BUILD
. It doesn't hurt to add it on that last linePREDEFINED += DOXYGEN_SHOULD_SKIP_THIS
), but in this case it was a red herring ha! -
You're kind of fighting the conventions here. Typically documentation is added in the
.h
files, not in the.c
files. So, if it's possible and acceptable for your circumstances, the ideal scenario would be to avoid documenting C files at all.INPUT = ../include
andFILE_PATTERNS = *.h
(though since your code base is separated, it seems you may not need to overrideFILE_PATTERNS
-- just depends on what files you have where). Doing this means that- You won't need to mess with
breathe_implementation_filename_extensions
- You don't need all this extra
#if !defined(DOXYGEN_DOCUMENTATION_BUILD)
everywhere.
- You won't need to mess with
Does that make sense?
from exhale.
Going to close this as resolved, please re-open if the above suggestions didn't work!
from exhale.
Related Issues (20)
- Operator>>, <<, -> overloading bug HOT 4
- Unable to resolve function HOT 1
- Warnings caused by missing newlines in exhale output HOT 3
- LaTeX in \f$ swallows \n newlines HOT 2
- Allow root file to be excluded and set filename of hierarchy files HOT 1
- Replace collapsible list JavaScript with details/summary HOT 1
- Does it work for C projects? HOT 1
- Module Index Error 404 page HOT 1
- Exhale seems to eat asterisk-chars '*' HOT 1
- Exhale does not find functions with weird data types
- Hard-coded 'Class' and 'Classes' even for C
- Allow fully qualified enum, class, structs titles
- Fixup packaging requirements HOT 8
- Windows path length issues HOT 4
- no coverage uploaded for master HOT 1
- KeyError: 'concept' when listing nodes to console HOT 1
- Problem with Sphinx 7
- Github action fails HOT 4
- You broke test_python.yaml you foo
- Fortran support may be broken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exhale.