m.css icon indicating copy to clipboard operation
m.css copied to clipboard

Doxygen: Support inlining simple structs in file

Open burningmime opened this issue 7 years ago • 3 comments

Doxygen supports the INLINE_SIMPLE_STRUCTS configuration which is great for plain C APIs where a struct is just 2 fields together. It seems m.css does not honor this (maybe Doxygen is the one that isn't generating the XML correctly).

If this isn't feasible for you to implement, is there a simple way I could pre-process the XML to get this?

burningmime avatar Jan 15 '19 04:01 burningmime

Hi, sorry for the delayed reply, I am rather busy this year :)

I actually attempted to implement support for this, but as far as I remember (from a year ago), the generated XML showed no difference if this option was enabled or not and so I put it aside. I think this behavior didn't change at all since 1.8.13 but frankly I'm not sure.

The thing is is -- this option affects how internal links (and also tag files) are generated, so while preprocessing the XML could work, it would probably run into a lot of nasty corner cases (invalid links etc), making it all very ugly. I'm interested in using this option for my projects as well but the support has to be done on Doxygen side first -- could you check if this option is reflected in the generated XML and if not (which is my assumption), open a feature request on the Doxygen project itself?

After the Doxygen side is done, I can add support here as well.

Thank you!

mosra avatar Feb 02 '19 08:02 mosra

No problem; thanks for getting back. I checked, and it still has no effect on the output. It does not inline them in the output.

burningmime avatar Feb 07 '19 02:02 burningmime

I see you opened an issue on the Doxygen repo: https://github.com/doxygen/doxygen/issues/6825 Reopening so I (or someone else) can get back to this once the Doxygen part is implemented.

mosra avatar Feb 07 '19 08:02 mosra