Skip to content
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

Word wrapping for enum values #476

Closed
senyai opened this issue Feb 25, 2020 · 2 comments
Closed

Word wrapping for enum values #476

senyai opened this issue Feb 25, 2020 · 2 comments

Comments

@senyai
Copy link

senyai commented Feb 25, 2020

Hello!

.. doxygenenum:: TangleCheckResult will result in:

image

that is, the value of TCR_INDEPENDENT_IMAGES is partly hidden when this enum is used:

typedef enum {
  TCR_FORWARD_PASS_POSSIBLE  = 0x01,
  TCR_BACKWARD_PASS_POSSIBLE = 0x02,
  TCR_INDEPENDENT_LINES      = 0x04,
  TCR_INDEPENDENT_IMAGES     = TCR_FORWARD_PASS_POSSIBLE |
                               TCR_BACKWARD_PASS_POSSIBLE |
                               TCR_INDEPENDENT_LINES,
  ///< Images do not intersect in memory.
} TangleCheckResult;
@jakobandersen
Copy link
Collaborator

Is this with html output? or something else?
I suspect that the issue is not specific for Breathe-assisted documentation, but would happen with raw Sphinx input. Try with something like the following:

.. cpp:enumerator:: TCR_INDEPENDENT_IMAGES     = TCR_FORWARD_PASS_POSSIBLE | \
                               TCR_BACKWARD_PASS_POSSIBLE | \
                               TCR_INDEPENDENT_LINES

If so it would be good to open an issue over there, preferably with an archive with a minimal non-Breathe example for reproduction and experimentation.

@senyai
Copy link
Author

senyai commented Mar 2, 2020

Sorry, it was pdf output. Yes, this is sphinx issue, so let's close this one.

@senyai senyai closed this as completed Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants