Search code examples
javadocdoxygendocumentation-generation

Is there an @inheritDoc equivalent in Doxygen?


I know Javadoc will compile {@inheritDoc}, but what's the Doxygen way to do this?


Solution

  • There's the explicit copydoc which I think is closest to an equivalent although with more flexibility it therefore requires you specify the original to copy so is a bit more awkward. It's designed to let you pull in documentation from anywhere so it needs a parameter specifying the source.

    By default, the default is to inherit documentation from parent classes.