I have a set of markdown pages that I use for documenting my code in a table setup and use @subpage to place those pages under the table page.
Table.md
Code Table
==========
| Name | Description |
|-----------------|-------------|
| @subpage index0 | |
| @subpage index1 | |
| @subpage index2 | |
| @subpage index3 | |
Subpage0.md
000 - Table Element {#index0}
===================
Etc for the other pages
Then in the documentation output from doxygen the @subpage
references would be replaced with the page text title, i.e. '000 - Table Element'. Also, the file link would be subpaged under the Code Table
link in the navigation gutter.
My issue, is now i want to take these same files but add conditionals based on the code i am building. Here is how i changed one of the files.
@if BUILD_A
000 - Table Element {#index0}
===================
@elseif BUILD_B
000 - New Table Element {#index0}
===================
@endif
My doxygen preprocessing and enabled sections are all setup correctly and that it outputs the correct text i want, the issue is that the navigation gutter no longer subpages those pages that have this type of conditional setup and the actual pages don't use the link title for the page title but rather use the file name as the title.
Is markdown too limited currently with doxygen and I have to use dox pages or is setup not possible with what i want?