Relative files paths in doxygen-generated documentation

后端 未结 1 1288
执笔经年
执笔经年 2021-02-05 21:50

I am using Doxygen 1.7.4 for Windows.

In the File List page of generated documentation I\'d like to see relative paths. I have set FULL_PATH_NAMES

1条回答
  •  我在风中等你
    2021-02-05 21:56

    I'm not sure about Windows, but on Linux and OS X I can produce outputs in the file list like

    • src/Utils.cpp [code]
    • src/Utils.h [code]
    • src/VectorMath.h [code]
    • test/src/test.cpp [code]

    By setting FULL_PATH_NAMES to YES and STRIP_FROM_PATH to ../.. (i.e. the directory path of project's root which is two directories up from where I'm building the docs). You may need to swap the directory separator to the windows one.

    You'll also need to watch out that you update the Doxyfile if you move the docs around.

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