Relative files paths in doxygen-generated documentation

这一生的挚爱 提交于 2019-12-03 03:36:53

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!