I have placed documentation for namespaces that span multiple files into another file. My Doxygen builds use a separate file for the @mainpage
tag. This forms the root of the built Doxygen, and is also a central location for such namespaces.
So I'll have project_name_mainpage.h
, and in that file:
/**
@mainpage title
...whatever you want to tell the user about your application...
*/
/**
* @namespace your_namespace
* @brief An awesome description
* @details More sweet details
*/
Keeps it all in one place, and is relatively easy to find if you need to update it.