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

  • SEARCH
  • Home
  • 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 8956625
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T14:49:46+00:00 2026-06-15T14:49:46+00:00

I am writing some overview documentation of modules in my application. I mainly use

  • 0

I am writing some overview documentation of modules in my application. I mainly use the \page, \subpage, \section and \subsection tags.

The \page and \subpage tags allow me to give a nice hierarchical structure to the documentation, which is clearly visualized in the header of the web pages, or is used to build the table of contents when converted to Qt Help using QHelpGenerator. Therefore, I understand that the pages should have unique names.

When I give my sections in my pages names like ‘overview’, ‘introduction’, ‘section1’, ‘section2’ and so on, it seems to work correctly when I build a subset of my documentation. It seems that the section names don’t have to be unique.

But, when I build a larger set of documentation files, some pages are not correctly created anymore. Could this be caused by the section names that are not globally unique?

I tried to find information regarding the global-uniqueness of section names but I can’t find any statement regarding uniqueness of section names. Do they have to be globally unique?

EDIT:
I now notice that if one file has a section with id X and title A, and another file has section with id X and title B, that both get the same title in the generated documentation (A or B). So this seems to indicate that the id’s should be globally unique. Is there a way to circumvent this?

  • 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-15T14:49:47+00:00Added an answer on June 15, 2026 at 2:49 pm

    Section names in doxygen are intended to be globally unique. This allows a section to be referenced (\ref) from any part of the documentation.

    If you’re only looking for a section heading (where the id isn’t used/important), you could rely on one of the other mechanisms for specifying a header that Doxygen provides, for example:

    • Use HTML tags for headers:

      <h1>Header 1</h1>
      <h2>Header 2</h2>
      <h3>Header 3</h3>
      
    • Use the Markdown representation of headers (assuming Markdown support is enabled):

      Header 1
      ========
      
      Header 2
      --------
      

      or

      # Header 1
      ## Header 2
      ### Header 3
      
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm writing some code that will take a screenshot of another application, given its'
I have been writing some python extension modules with cython. The extensions I've written
I have been writing some basic code for an application I am designing. I
Writing some XML documentation for a predicate helper class. But I can't figure out
I'm writing some tests for a rails application to make sure my index action
I'm writing some JVM instance related application and looking at open source to see
While writing some C code, I decided to compile it to assembly and read
Im writing some helper functions for a project im working on. I've always wanted
While writing some views to respond to ajax requests i find it somewhat strange
Just writing some CSS and I have a pretty cool Search form where you

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.