Use the README.md file as main page in Doxygen

前端 未结 2 937
轻奢々
轻奢々 2020-12-12 20:47

The documentation of Doxygen states, that I can use PHP Markdown Extra title labelling in a markdown file, but neither

# Main Page # {#mainpage}
相关标签:
2条回答
  • 2020-12-12 20:59

    Try the following instead to mark the title as a level 1 header:

    Main Page {#mainpage}
    =========
    

    With doxygen 1.8.2, this makes the page as the index.html page for me.

    The doxygen document does state that starting a line with a single # declares a level 1 header, but it seems to be not working for me either.

    0 讨论(0)
  • 2020-12-12 21:21

    In the next release of doxygen (1.8.3) I plan to introduce a new configuration option USE_MDFILE_AS_MAINPAGE which can be used to specify a markdown page that is to be used as the main page. Then you can configure doxygen as follows:

    INPUT                  = README.md other_sources
    USE_MDFILE_AS_MAINPAGE = README.md
    

    and it will work regardless of page's headings.

    0 讨论(0)
提交回复
热议问题