Re: Adding canonical links to HTML documentation
Dimitri van Heesch <[email protected]> Sun, 30 Sep 2012 10:17:56 +0200
| Newsgroups | gmane.text.doxygen.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Philipp, On Sep 21, 2012, at 15:26 , Philipp Moeller <[email protected]> wrote: > Hi, > > I'm looking for a way to inject <link rel="canonical" href=""/> tags > into doxygen HTML output. > > The obvious way is to do it in a post-processing, but having the ability > to access the filename of the currently generated file (incl. it's path > when CREATE_SUBDIRS is enabled) inside the HTML_HEADER seems like a > better solution. > > It seems to be straight-forward to implement by adding another > substitution to substituteHtmlKeywords in htmlgen.cpp If it is for the header and footer, then yes that would work (similar to $relpath$, which is the relative path to the root of the documentation set). > > Would it be possible to add something like that? I could provide a patch > if wanted. Yes please, but I would like to understand what you would be using this for. Regards, Dimitri ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html