Re: [Doxygen-users] Directory structure for the generated .html files?
Brought to you by:
dimitri
From: Richard D. <Ri...@Da...> - 2017-10-02 12:09:58
|
On 10/2/17 7:25 AM, Alexandru Băluț wrote: > The files generated in the html/ directory are all in the same > directory. What rule can be used to convert the source-file path to > the URL where its doxygen documentation can be found? For example if I > know the file is "project1/Patch.hh", how can I construct the > "html/Patch_8hh_source.html" path so I can link to it from other places. > > Is there any way to configure Doxygen to use something like > "html/project1/Patch.html" so links to it can be created automatically > easily? > > Thanks, > Alex The file name conversion is fairly simple (and for me, I would get html/_patch_8hh_source.html I think you must have used case sensitive paths, which is OK as long as you are certain the results never need to live on a case insensitive system). Basically, for a case insensitive system, upper case letters are replaces with _ and the lower case letter. 'Special' characters, like . are replaced with _ and an number (like the 8 in your above example), and those numbers are consistent. Most of the files for pages are easy to predict the final name. Images on the other hand, are basically impossible to predict, as a hash is added to the name to allow the detection of needing to update the file. -- Richard Damon |