-
Notifications
You must be signed in to change notification settings - Fork 216
Documentation overhaul
Arnaud Becheler edited this page Jan 8, 2024
·
24 revisions
A space for us to workshop ideas (maybe enabling Github Discussions later in time).
If you can't edit this page, get in touch with me (Jeremy Murphy).
Please use:
- h1 to propose a new idea,
- h2 to propose variations to an existing idea
- h3 for topics.
Problems with the existing documentation:
- fill in later...
Examples of good documentation that we might copy/steal and how they fix the identified problems:
- etc...
Newcomers struggle to build a simple graph
A newcomer who wants to simply build their first graph has to:
- find the Table of Content link hidden in the doc landing page
- Navigate no less than 7 sections of the ToC to reach a suitable example:
- Introduction to the BGL
- Parallel BGL
- History
- List of BGL Users
- Publications
- Acknowledgements
- A Quick Tour of the Boost Graph Library -> here an example of adjacency list Most of these sections sound like the BGL trying to justify itself: but users just want to be shown how to use it.
- Make the ToC the first page users land on
- Just below the ToC put a showcase code example meant to clearly show from the start how clear the BGL syntax can be, e.g.: build a graph, print vertices and edges, and run a DFS.
- Merge the History/List of Users/Publications/Acknowledgements into a single page About and move it toward the end of the ToC
- Update the Introduction to the BGL section that is too long and noisy:
- to make it less like self-justification (noise)
- remove the analogy to the STL (noise: in 2023 we know what iterators are)
- Make it very minimal, with only most important information:
- 1 sentence description
- Github Link
- License
- Supported compilers (?)
- Very short example to show includes + one line of code + output
- Important current topic (?)
- e.g. mp-units home