The Parsing Paradox: How We Wrote a Doxygen Filter Without Doxygen
How a smart Python script meant to save legacy comments almost deleted itself from the documentation.
How a smart Python script meant to save legacy comments almost deleted itself from the documentation.
How a harmless documentation grouping tag drove our parser crazy and spawned phantom namespaces.
How we found hundreds of 'vanished' global functions in Doxygen's XML output and why the parser was completely blind to them.
How a harmless std::enable_if template trick caused the documentation generator to silently delete classes from the project.
Every rebuild used to run Doxygen and parse its XML from scratch, even when nothing had changed. Our two-level cache fixed that pain. But the title has a catch: the cache can't make things genuinely fast, because it only knows how to skip work that can be avoided altogether.