GNOME Bugzilla – Bug 691607
$navpath contains variable that is not expanded
Last modified: 2013-01-30 00:47:29 UTC
Hi Dimitri, The footer contains the variable "$navpath", but that contains some variables too, which are not expanded correctly. In my case "$navpath" gets expanded to: <li class="navelem"><a class="el" href="$relpath_8c.html">search.c</a></li> Seems there need to be done some variable expansion before or afterwards. Custom footer: >> <!-- HTML footer for doxygen 1.8.3--> <!-- start footer part --> <!--BEGIN GENERATE_TREEVIEW--> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> $navpath <li class="footer">$generatedby <a href="http://www.doxygen.org/index.html"> <b>doxygen</b></a> $doxygenversion </li> </ul> </div> <!--END GENERATE_TREEVIEW--> <!--BEGIN !GENERATE_TREEVIEW--> <hr class="footer"/><address class="footer"><small> $generatedby  <a href="http://www.doxygen.org/index.html"> <b>doxygen</b> </a> $doxygenversion </small></address> <!--END !GENERATE_TREEVIEW--> </body> </html> << HTML file contents: >> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="$relpath_8c.html">search.c</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <b>doxygen</b></a> 1.8.3 </li> </ul> </div> </body> </html> << Thanks for any correction. -- Stefan
I wasn't able to reproduce this. Can you please attach a self-contained example (source+Doxyfile+footer+output in a tar or zip) that allows me to reproduce the problem?
Created attachment 233307 [details] example to duplicate the problem Hi Dimitri, attached is an stripped down version to duplicate the issue. BTW, I am running doxygen 64-bit on Windows 7 x64 Edition. -- Stefan
Thanks, I can now reproduce the issue as well. The problem was the potential ambiguity of using $relpath$search, which could mean $relpath$ search or $relpath $search. I'll use $relpath^ in the next release.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.3.1. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant.
Dimitri, I can confirm the fix. Thanks for fixing this issue. -- Stefan