This section provides answers to commonly asked questions about Doxygen. Please begin by familiarizing yourself with the Doxygen coding style.
Expand AUTOSAR macros
By setting the following in the configuration file:
Learn more
Add a Markdown file as the main page
-
Enable Markdown support in your Doxyfile.
-
Specify the Markdown file using the
USE_MDFILE_AS_MAINPAGE
option. -
Make sure the Markdown file is included in the
INPUT
configuration.
If your Markdown file is in a different directory, provide the full path or add the directory to the INPUT configuration and set RECURSIVE = YES
.
Important
USE_MDFILE_AS_MAINPAGE
should only contain the file name, not the full path. The full path should be specified in the INPUT configuration if needed.
In your Markdown file, you can use a level 1 heading to create the main page title.
Or, you can use the \mainpage
command, like so:
manual/index.dox
For other pages, prefix them with the \page
command.
And then include it in your Doxyfile:
Add a module or topic description page
Note
To create custom pages, use one of the supported file extension:
.dox
,.txt
, or.md
. Doxygen will treat a.dox
or.txt
file as a C/C++ source file, and a.md
file as a Markdown file.
If you prefer using Markdown files, create a .md
file for your module description and include it in your Doxyfile: