It's not simple. The path for a/b/file.hh changes depending on whether
other files with the same name (file.hh) exist in the project. It can be
file_8hh.html if the name is unique, or a_2b_2file_8hh.html if there is
another one called c/file.hh.
Is there a way to generate the html documentation such that it's simple to
figure out the resulting path for a specific file, based on the file path
alone?
On Mon, Oct 2, 2017 at 2:12 PM Richard Damon <rich...@damon-family.org>
wrote:
> 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
> Doxygen-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>
------------------------------------------------------------------------------
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
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users