Page hierarchy support

Discuss how to use DoxyPress

Page hierarchy support

Postby dutow » Sat Jul 09 2016 4:26 pm

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?
dutow
 
Posts: 1
Joined: Sat Jul 09 2016 4:18 pm

Re: Page hierarchy support

Postby ansel » Tue Jul 12 2016 1:38 am

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/doxypress/topic-cmd-gen.html#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
 
Posts: 60
Joined: Fri Apr 10 2015 8:23 am


Return to User Support

cron