Hi Philipp,
On Sep 21, 2012, at 15:26 , Philipp Moeller <phi...@ge...> 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
|