How do I link between markdown documents in doxygen?

后端 未结 4 1099
走了就别回头了
走了就别回头了 2020-12-15 03:42

I have a project with a set of markdown pages that are interlinked with links such as

[Go to this page](subdir/MyOtherPage.md)

The pages al

4条回答
  •  温柔的废话
    2020-12-15 04:11

    The following steps may solve the problem,

    • set STRIP_FROM_PATH to Doxyfile directory. There is a problem with relative path while linking the markdown files.
    • append the following code in doxygen source file src/docparser.cpp at 2438 line number containing code pd = Doxygen::pageSDict->find(target); (if it is not there already). It fixes the markdown file searching in the page-list.

      if(pd == 0 && lang == SrcLangExt_Markdown) {pd = Doxygen::pageSDict->find(markdownFileNameToId(target));}

    • Finally compile the doxygen and try again.

    It worked for me.

提交回复
热议问题