Re: html anchor name scheme for dokumentation elements (files, groups, functions, ...)

Clemens Feige <[email protected]> Mon, 3 Sep 2018 18:12:29 +0200
Newsgroups gmane.text.doxygen.general
Organization Osypka Medical
Message-ID <[email protected]>
"René Staffen" wrote on 29.08.2018 at 14:50:
> Hi,
> I want to create some external links into doxygen documents based on some knowledge of the code.
> 
> Is it possible at all to (and if: how) create this links without searching the individual id of the elements in the already generated files?
> 
> e.g how should the hyperlink look like if i want to reference the function Fun_XYZ in File_ABC.h?
> 
> Do i have to process the xml output or
> 
> 
> Thanks and best regards
> René
> 

Hello René

The cryptic names and IDs are MD5 hashes. In 2006 somebody asked a 
similar question and Dimitri (who is the honorable author of Doxygen) 
answered as follows:

 > "you can look in src/memberdef.cpp for
 > MemberDef::setAnchor(const char *a)".

But watch out, at this time Doxygen 1.4.5 was the latest. Nevertheless, 
looks like this function still exist and you may examine how the MD5 
code is created.

https://github.com/doxygen/doxygen/blob/master/src/memberdef.cpp

Clemens


------------------------------------------------------------------------------
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