Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated hhc file contains an error for a section of a mainpage (Origin: bugzilla #709803) #5311

doxygen opened this Issue Jul 2, 2018 · 0 comments


None yet
1 participant
Copy link

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component build for ---
Reported in version 1.8.5 on platform Other
Assigned to: Dimitri van Heesch

On 2013-10-10 10:31:14 +0000, wrote:

When using a section within a mainpage as following:


  • @mainpage My Main page
  • This is my main page.
  • @section mysection My Section
  • This is my section.

The configuration file has GENERATE_HTMLHELP set to YES. After running doxygen (1.8.5) the resulting index.hhc file contains an error:

    The inner

  • references "a00003.html#mysection" which should be "index.html#mysection".
    This causes an error when running hhc.exe:

    HHC5013: Error: URL reference in the TOC cannot be resolved: "a00003.html#mysection".

    When changing the hhc file to use "index.html#mysection" it works correctly.

    This construction worked fine with older versions of doxygen (not exactly sure when it started to fail). In the cases where it worked the section of the mainpage would not be part of the hhc file at all though.

  • On 2013-10-12 11:43:57 +0000, Dimitri van Heesch wrote:

    I assume this only happens when SHORT_NAMES = YES ?

    On 2013-10-12 14:10:52 +0000, Dimitri van Heesch wrote:

    Confirmed. Should be fixed in the next GIT update.

    On 2013-10-14 05:52:22 +0000, wrote:

    Yes, you are correct: this happens with SHORT_NAMES = YES.

    Thank you for the feedback.

    On 2013-12-24 18:59:28 +0000, Dimitri van Heesch wrote:

    This bug was previously marked ASSIGNED, which means it should be fixed in
    doxygen version 1.8.6. 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 (preferrably in the form of a self-contained example).

    On 2014-01-17 14:03:16 +0000, wrote:

    Verified to be fixed in 1.8.6, thank you for the effort.

    @doxygen doxygen closed this Jul 2, 2018

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    You can’t perform that action at this time.