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

No output for markdown pages with duplicate label title (different anchor) (Origin: bugzilla #735001) #5550

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

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

Original attachment names and IDs:

On 2014-08-18 14:21:27 +0000, Haffmans wrote:

Created attachment 283758
minimal example

I have a set of documentation with multiple markdown pages. These pages often have the same structure, e.g. they start with an Overview/Introduction, before going into further details of the topic.

This used to work fine in Doxygen 1.8.6, but as of 1.8.7 (including today's Git build) Doxygen complains about "multiple use of section label" on these pages - even though the section anchors are different.

On pages where such a duplicate label is found all content after that label is simply removed, rendering the page pretty much empty.

I use the "Label {#anchor}" syntax to define the sections.

I have attached a minimal example that exposes this behavior. There are two .md files (under related pages in the HTML output) - see attachment. The first page is generated as expected, but the second page is broken.

Changing the label text of the second page makes thing work as expected again, but means the headings will have to be unique across the whole project - rather than just the anchors.

This may be related to # 734727.

On 2014-08-19 10:23:05 +0000, Dimitri van Heesch wrote:

Confirmed. Should be fixed in the next GIT update.

On 2014-08-20 15:09:35 +0000, Haffmans wrote:

I can confirm that it's solved. Thanks!

@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