Code Monkey home page Code Monkey logo

Comments (6)

michaeljones avatar michaeljones commented on June 12, 2024

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.

mbolivar avatar mbolivar commented on June 12, 2024

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.

michaeljones avatar michaeljones commented on June 12, 2024

I've added "enum" to the enumerator titles. Do you think that is satisfactory?

Cheers,
Michael

from breathe.

mbolivar avatar mbolivar commented on June 12, 2024

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.

michaeljones avatar michaeljones commented on June 12, 2024

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.

mbolivar avatar mbolivar commented on June 12, 2024

Hi,

Looking good, thanks for the fix.

Marti

from breathe.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.