Page hierarchy support

Discuss how to use DoxyPress
Post Reply
dutow
Posts: 1
Joined: Sat Jul 09 2016 4:18 pm

Page hierarchy support

Post by dutow »

Hello

Based on the doxypress documentation ( http://www.copperspice.com/docs/doxypress/ ) I can see that documentation pages can be placed in a hierarchy - and I'm assuming the documentation is written in markdown or some other markup language as it contains no source files.

It contains different html pages within a hierarchy. For example Commands and it's subpages.

But I can't figure out how to do this in my own project, I could only create flat page lists so far.

And a slightly related note/question: I tried to find the source of the doxypress documentation to check how it accomplishes this, but couldn't find it. Is it available somewhere?
ansel
Posts: 152
Joined: Fri Apr 10 2015 8:23 am

Re: Page hierarchy support

Post by ansel »

Thank you for your question. In order to create a hierarchy of pages the \subpage command is used. For more information see http://www.copperspice.com/docs/doxypre ... cmdsubpage.

As an example, here is a snippet of code for the commands page in the DoxyPress documentation you mentioned:

Code: Select all

/*!

\page commands Commands


<ul>

    <li>\subpage topic-cmd-gen</li>

    <li>\subpage topic-cmd-user <br><br> </li>

    <li>\subpage topic-cmd-html</li>

    <li>\subpage topic-cmd-xml <br><br> </li>

...
Hopefully this information will help but if you have something published you would like us to look at we would be glad to check it out. If you need other samples let us know.
Ansel Sermersheim
CopperSpice Cofounder
Post Reply