vovkos / doxyrest

A compiler from Doxygen XML to reStructuredText -- hence, the name. It parses XML databases generated by Doxygen and produces reStructuredText for the Python documentation generator Sphinx.
MIT License
306 stars 23 forks source link

fails silently when there are code snippets inside a table #47

Open LexouDuck opened 2 years ago

LexouDuck commented 2 years ago

Hello again - and thanks for the recent update (2.1.3) which has solved my previous issue. This time i have a bug to report, though i believe the fix shouldn't be too difficult ?

Like the title states, doxyrest does not handle <computeroutput> code snippets when they are inside a table (instead, the cell's contents will be empty, which tends to break the table layout).

Having glossed over the code real quick, i think it's just a matter of changing the common/doc.lua file so as to have the formatDocBlock_computeroutput() function be called appropiately inside the formatDocBlock_table() function. I can attempt a PR if you'd like, although I have never built doxyrest from source, so it may take a while.