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 677992 - incorrect index.qhp file when a dox page contains sections with an empty title
incorrect index.qhp file when a dox page contains sections with an empty title
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: documentation
1.8.1-SVN
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2012-06-13 08:25 UTC by Labrunye
Modified: 2012-07-12 15:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Labrunye 2012-06-13 08:25:55 UTC
Hello,

I'm generating a doc including the following dox file.

/*! \page PortingTo211 Porting from 2.1.0 to 2.1.1


\section C
\subsection Cursor3dCameraObserver

*/

There is a mismatch in the section tag of the index.qhp file. As a consequence, qhelpgenerator cannot compile the documentation.
As you can see in the snapshot of index.qhp below, there is an extra </section> tag.


The problem is linked with the early return
void Qhp::handlePrevSection() {
if (m_prevSectionTitle.isNull())
  {
      return; // here we should do something with m_prevSectionLevel
  }
...
}



<toc>
      <section title="GOCAD Internal Version 2011.2 (2.7.2a1)" ref="index.html">
        <section title="Basic GOCAD Developer Kit Documentation" ref="index.html" />
        <section title="page to include the header logo inside the qch file" ref="Fake.html" />
        <section title="Porting from 2.1.0 to 2.1.1" ref="PortingTo211.html">
        </section>
      </section>
      <section title="Logo" ref="Logo.html" />
      <section title="Namespaces">
        <section title="Namespace List" ref="namespaces.html">
          <section title="Gocad" ref="namespaceGocad.html" />
        </section>
      </section>
    </section>
  </toc>
Comment 1 Dimitri van Heesch 2012-06-17 13:58:03 UTC
Confirmed. Should be fixed in the next subversion update.
Comment 2 Dimitri van Heesch 2012-07-12 15:41:59 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.1.2. 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.