treat .unparsed as plain text by 2bndy5 · Pull Request #806 · breathe-doc/breathe (original) (raw)
This fixes #805.
According to the doxygen manual, users can specify a file extension called .unparsed to disable syntax highlighting. Since this isn't a real language that pygments supports, there was a warning generated when users followed the doxygen manual.
This is a simple patch that replaces the "unparsed" file extension with "text" to invoke pygments' null highlighting lexer.
I also added a code block (that uses \code{.unparsed}) to the doc's example snippets in the codeblocks.rst (and examples/specific/code_blocks.h) to verify this warning is properly suppressed.