GNOME Bugzilla – Bug 756161
Relative paths in config file are un-usefully relative to whatever directory is current when doxygen is run
Last modified: 2018-07-30 10:21:11 UTC
Relative paths given in a doxygen config file, e.g., those set on INPUT, are relative to the current directory when Doxygen is run. This means that the information about the directory in which to run doxygen must be recorded somewhere, either in one's head, in a note, or in an external build system. I think it would be better if paths were relative to the config file location, then no other information would be needed that could be forgotten. The command could be run anywhere and it would work. I imagine such a change might break a few projects so I propose adding a new config entry at the top of the file to select the behavior for relative paths. This would default to the current behavior.
I fully agree. It makes much more sense to have paths relative to the doxyfile location. Actually I thought it was like that since I run doxygen through a script from the project root where the doxyfile is stored too.
As discussed in https://github.com/doxygen/doxygen/pull/734 , Doxygen has moved its issue tracking to https://github.com/doxygen/doxygen/issues All Doxygen tickets in GNOME Bugzilla have been migrated to Github. You can subscribe and participate in the new ticket in Github. You can find the corresponding Github ticket by searching for its Bugzilla ID (number) in Github. Hence I am closing this GNOME Bugzilla ticket. Please use the corresponding ticket in Github instead. Thanks a lot!