GNOME Bugzilla – Bug 677992
incorrect index.qhp file when a dox page contains sections with an empty title
Last modified: 2012-07-12 15:41:59 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>
Confirmed. Should be fixed in the next subversion update.
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.