Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9007535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:43:00+00:00 2026-06-16T01:43:00+00:00

I notice a strange problem with doxygen 1.8.2. Including a header label causes the

  • 0

I notice a strange problem with doxygen 1.8.2. Including a header label causes the header title to disappear from the output html.

With the following markdown file:

Title            {#title}
=====

Section 1        {#section1}
---------
Text for section 1

I get the output as:

Title

Text for section 1

But, if I remove the {#section1} label from the markdown file, I get the correct output as:

Title

Section 1

Text for section 1

What is the mistake I am making here?

Edit I observed the following warning when I label a section:

 warning: found subsection command outside of section context!
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:43:02+00:00Added an answer on June 16, 2026 at 1:43 am

    After some investigation, I have decided this appears to be a bug, but only because it is slightly counter-intuitive.

    Consider the following:

    The Main Section {#the_main_section}
    ================
    
    Subsection One {#first}
    --------------
    
    Something highly interesting...
    

    The document starts with a level 1 header (as described here) and so Doxygen parses “The Main Section” as the name and title of the page. The header and the label {#the_main_section} appear to be disregarded once the header has been converted into a page name.

    The processing then moves on to the rest of the document and When it reaches “Subsection One”, it believes that there is no parent “Section” for the “subsection” (as the “Section” was converted to a page name) and this is where it chokes.

    More specifically, it discards the subsection (header) as it believes there is no parent “section”. All other text remains, but is treated as part of the “page” (with no section parent).

    The “fix” is to add another “level 1 header” after the initial “level 1 header” e.g.

    My Great Documentation (Which Becomes the Page Name)
    ====================================================
    
    The First Section
    =================
    
    Q. What? I already created a level 1 heading?
    A. Yup, but that was converted to a page name/title and discarded, so now
       we have to create another level 1 heading for my first section. Don't
       be fooled into thinking that the opening heading in this document is
       still treated as an opening heading by Doxygen - it's not!
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using msys-git and notice I often get strange characters in the output after
I've got a strange problem with templates and namespaces... I have the following code
I notice a strange thing during doing some stored procedures I can explain that
As im reading through 3 books about GC , ive notice some strange fact
I've noticed strange behavior when trying to redirect the output form a node.js script
One Strange Problem. I made an application in java using eclipse in which data
We are facing a strange problem. We have a user control written in WPF
I have a strange problem. I've downloaded the latest php sdk. In there are
I'm trying to resolve this strange problem since last week but I still haven't
I have some strange problem with table in Firefox. What I want to create

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.