Comments (6)
Hey,
Thanks for the report and thanks for giving breathe a go. Been a bit of a slow response as I've had to navigate my company's proxy server to be able to send to github.
I've just pushed a (slightly alpha-y) update to the repos which will show enums in the final output. One slight issue is that it always prints a separator after the enum name even when there isn't a description. Bit more work required there, but I'd be happy to know if it is in the right ball park for you.
All the best,
Michael
from breathe.
Fantastic! This is exactly the right ballpark. One nice tweak would be if "Enumerator:", "Values:", or something along those lines could be put into the output before the beginning of the list.
Best,
Marti
from breathe.
I've added "enum" to the enumerator titles. Do you think that is satisfactory?
Cheers,
Michael
from breathe.
Thanks for being so responsive to reports!
Sorry for not being clear -- I was thinking that this could be placed before the actual list of enumerator values, in the same way "Parameters" appears before the list of a function's parameters. For instance, this
/**
* Description.
* @see relatedFunction()
*/
typedef enum {ENUEMRATOR1, ENUMERATOR2} some_t;
might get turned into something like
some_t
Description.
See:
relatedFunction()
Values:
- ENUMERATOR1
- ENUMERATOR2
As is, I'm worried that some people might get confused and e.g. think that the list of enumerators is under "See".
from breathe.
Hey,
Thanks for the clarification. I confess I knew what you meant but didn't see the need until your example. Thank you for taking the time.
I've pushed a version that should do as you suggest.
Cheers,
Michael
from breathe.
Hi,
Looking good, thanks for the fix.
Marti
from breathe.
Related Issues (20)
- Sphinx 7.2 support HOT 2
- AttributeError: 'PosixPath' object has no attribute 'rstrip' in breathe/project.py HOT 4
- Drop EOL python 3.7?
- Missing `python` version for dependency management
- Wrong required python version 3.6+
- GH Actions: broken unit test
- Issue with dispaly of notes in sphinx documentation HOT 1
- Support Sphinx ToC generation with `_toc_name` and `_toc_parts` attribute
- Provide some diagnostic warnings if references to functions are missing parentheses HOT 1
- En-dash in @return renders incorrectly
- Duplicate declaration/description warnings HOT 1
- Add make.bat for building breathe's documentation on Windows HOT 1
- Duplicate C++ declaration with nested anonymous structure
- `RemovedInSphinx80Warning` in `ProjectInfoFactory.__init__`
- Test suite does not pass against Sphinx 7.2.6
- Automatic way to generate `.rst` files from doxygen xml HOT 1
- `Doxygenclass` is empty
- Breathe breaks with sphinx 7.3.X HOT 3
- Referencing a ```doxygengroup```
- Sphinx 8 will drop support for representing paths as strings. HOT 1
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 breathe.