After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 691607 - $navpath contains variable that is not expanded
$navpath contains variable that is not expanded
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: build
1.8.3
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2013-01-12 14:46 UTC by Stefan
Modified: 2013-01-30 00:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
example to duplicate the problem (102.70 KB, application/octet-stream)
2013-01-12 16:05 UTC, Stefan
Details

Description Stefan 2013-01-12 14:46:38 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 &#160;<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
Comment 1 Dimitri van Heesch 2013-01-12 15:11:26 UTC
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?
Comment 2 Stefan 2013-01-12 16:05:23 UTC
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
Comment 3 Dimitri van Heesch 2013-01-12 16:37:00 UTC
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.
Comment 4 Dimitri van Heesch 2013-01-20 13:35:00 UTC
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.
Comment 5 Stefan 2013-01-30 00:47:29 UTC
Dimitri,

I can confirm the fix.

Thanks for fixing this issue.

--
Stefan