Skip to content

Commit 085b8a6

Browse files
committed
doxy: improve the main page
Move the table of contents to the top, integrate the early sections in it. Rework the beginning. Signed-off-by: Brice Goglin <[email protected]>
1 parent b8c6da5 commit 085b8a6

File tree

1 file changed

+38
-40
lines changed

1 file changed

+38
-40
lines changed

doc/hwloc.doxy

Lines changed: 38 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -15,21 +15,50 @@
1515
<br>
1616

1717
\htmlonly
18-
<div class="section">
19-
\endhtmlonly
20-
See also \ref further_reading
21-
\htmlonly
22-
or the Related pages tab above
18+
<div class="section" id="toc">
2319
\endhtmlonly
24-
for links to more sections about hwloc concepts.
20+
\section toc Table of Contents
21+
22+
<ul>
23+
<li> Introduction
24+
<ul>
25+
<li> \ref overview
26+
<li> \ref bugs
27+
<li> \ref cli_examples
28+
<li> \ref interface
29+
<li> \ref history
30+
</ul>
31+
<li> Chapters
32+
<ul>
33+
<li> \ref installation
34+
<li> \ref termsanddefs
35+
<li> \ref tools
36+
<li> \ref envvar
37+
<li> \ref cpu_mem_bind
38+
<li> \ref iodevices
39+
<li> \ref miscobjs
40+
<li> \ref attributes
41+
<li> \ref topoattrs
42+
<li> \ref xml
43+
<li> \ref synthetic
44+
<li> \ref interoperability
45+
<li> \ref threadsafety
46+
<li> \ref plugins
47+
<li> \ref embed
48+
<li> \ref faq
49+
<li> \ref upgrade_to_api_2x
50+
</ul>
51+
</ul>
2552
\htmlonly
26-
</div>
53+
This page contains all the <i>Introduction</i> sections.
54+
Chapters are also available from the <i>Related Pages</i> tab above.
2755
\endhtmlonly
2856

57+
2958
\htmlonly
30-
<div class="section" id="introduction">
59+
</div><div class="section" id="overview">
3160
\endhtmlonly
32-
\section Introduction
61+
\section overview hwloc Overview
3362

3463
The Hardware Locality (hwloc) software project aims at easing the process
3564
of discovering hardware resources in parallel architectures.
@@ -39,9 +68,6 @@ hwloc primarily aims at helping high-performance computing (HPC)
3968
applications, but is also applicable to any project seeking to exploit
4069
code and/or data locality on modern computing platforms.
4170

42-
43-
\section hwloc_summary hwloc Summary
44-
4571
hwloc provides command line tools and a C API to obtain the
4672
hierarchical map of key computing elements within a node, such as: NUMA memory
4773
nodes, shared caches, processor packages, dies and cores,
@@ -420,34 +446,6 @@ PLPA was initially developed by
420446
the Open MPI development team as a sub-project. Both are now deprecated
421447
in favor of hwloc, which is distributed as an Open MPI sub-project.
422448

423-
\htmlonly
424-
</div><div class="section" id="further_reading">
425-
\endhtmlonly
426-
\section further_reading Further Reading
427-
428-
The documentation chapters include
429-
430-
<ul>
431-
<li> \ref installation
432-
<li> \ref termsanddefs
433-
<li> \ref tools
434-
<li> \ref envvar
435-
<li> \ref cpu_mem_bind
436-
<li> \ref iodevices
437-
<li> \ref miscobjs
438-
<li> \ref attributes
439-
<li> \ref topoattrs
440-
<li> \ref xml
441-
<li> \ref synthetic
442-
<li> \ref interoperability
443-
<li> \ref threadsafety
444-
<li> \ref plugins
445-
<li> \ref embed
446-
<li> \ref faq
447-
<li> \ref upgrade_to_api_2x
448-
</ul>
449-
450-
Make sure to have had a look at those too!
451449

452450
\htmlonly
453451
</div>

0 commit comments

Comments
 (0)