Re: Directory structure for the generated .html files?

Richard Damon <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <[email protected]>
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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.