If you put a MainPage.dox file in Doxygen's search path, it will add it to the output in Doxygen/html above the source documentation. But can you have multiple files like MainPage.dox? Or are you limited to one?
相关问题
- Is there a way to report errors in Apple documenta
- Mathematical notion/superscripts in Rd files
- Is roxygen2 only for documenting R packages or als
- Doxygen support for C++11 template aliases (the
- Vim syntax highlighting of doxygen style docstring
相关文章
- Add XML documentation / comments to properties/fie
- HelpInsight documentation in Delphi 2007
- How do I document a constructor for a class using
- How do I preserve a comment in an example in Doxyg
- Facebook Android SDK request parameters: where fin
- Possible to view method / function docs in NetBean
- Using SVG inside doxygen
- reST: inline links with arbitrary titles?
Doxygen will recognize and parse any file that has a *.dox extension and include it in the resulting documentation. What those files will produce is dictated by the doxygen comments located in the file. For example, if you want to modify the main page, you'll need a comment like:
You can also create documentation that should appear on other pages using this technique:
Assuming HTML output, this form will create a file named
another_page.html
at the same level asindex.html
. The title will beAnother Page
, and the content referenced will follow. An additional tab will also be produced namedRelated Pages
which will have links to all of the related pages created in this manner.Blocks like this can occur in any file that doxygen parses (including header or source files), and can contain definitions for multiple pages (both of the comments above could be in a single file). The file they're located in does not have an impact on the output that is produced.
As of 1.8.4,
.md
markdown pages can also be included as separate pages without need for.dox
C++ like comments/** */
if they are to be considered bydoxygen
according to yourINPUT
andFILE_PATTERNS
configs.One difference between using
.md
and.dox
is that.md
files produce a Related page with the same name as the basename without extension of the.md
file, while.dox
only produces pages with names given by\page
commands.It is still possible to use
\page
commands from.md
files.For example, if file
md_page.md
contains:this will generate 2 pages under "Related Pages" entitled: