# (auto generated) Documentation tool

**URL:** <https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216>\
**Category:** Beman Website and Docs\
**Created:** [September 21, 2024, 10:47pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216 "2024-09-21T22:47:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![InbalL](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.bemanproject.org/inball/32/1_2.png) [@InbalL](https://discourse.bemanproject.org/u/InbalL)\
**Post date:** [September 21, 2024, 10:47pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216/1 "2024-09-21T22:47:52Z")

</div>

Hi all,  
I would like to explore auto-gen documentation tools (similar to Doxygen). Does anyone know of such, besides: Dosygen, Sphinx, hdoc, QDoc, MkDocs?

---

<div class="post-metadata">

**Author:** ![paul](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.bemanproject.org/paul/32/105_2.png) [@paul](https://discourse.bemanproject.org/u/paul)\
**Post date:** [September 22, 2024, 8:30pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216/2 "2024-09-22T20:30:43Z")

</div>

I’m not aware of any other major ones. I think they all have their pros and cons and all integrate fairly well with CI and Github Pages. Oddly enough, the only one I’m not too familiar with is `QDoc` even though I work with Qt professionally.

---

<div class="post-metadata">

**Author:** ![bretbrownjr](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.bemanproject.org/bretbrownjr/32/43_2.png) [@bretbrownjr](https://discourse.bemanproject.org/u/bretbrownjr)\
**Post date:** [September 23, 2024, 12:54pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216/3 "2024-09-23T12:54:05Z")

</div>

I haven’t tried this, but it exists:

[https://clang.llvm.org/extra/clang-doc.html](https://clang.llvm.org/extra/clang-doc.html)

---

<div class="post-metadata">

**Author:** ![bretbrownjr](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.bemanproject.org/bretbrownjr/32/43_2.png) [@bretbrownjr](https://discourse.bemanproject.org/u/bretbrownjr)\
**Post date:** [September 23, 2024, 1:11pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216/4 "2024-09-23T13:11:05Z")

</div>

Also:

> **[GitHub - copperspice/doxypress: Documentation generator using annotated sources...](https://github.com/copperspice/doxypress)**
>
> Documentation generator using annotated sources for multiple computer languages

I think most people still use doxygen for parsing, [including clang](https://clang.llvm.org/doxygen/index.html). It’s ugly, but parsing C++ is hard. Consequently, I think sometimes people use doxygen to parse and the sphinx breathe plugin for prettier rendering.

Bottom line, don’t expect a perfect solution right now.

I think we’re overdue for a revisitation of doc generation tech, though. I have this theory that projects using the CMake FILE\_SET Headers feature should be able to have a nearly zero configuration doxygen experience (i.e., no Doxyfile or Makefile), but I won’t have time to personally implement that for a while.

---

<div class="post-metadata">

**Author:** ![mpusz](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.bemanproject.org/mpusz/32/109_2.png) [@mpusz](https://discourse.bemanproject.org/u/mpusz)\
**Post date:** [September 23, 2024, 4:36pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216/5 "2024-09-23T16:36:41Z")

</div>

For mp-units v0.8.0, I tried the doxygen + breathe + sphinx pipeline. It was a nightmare. Each tool crashed and failed to parse C++20 code. I strongly discourage such an approach.

If we were about to parse the code to autogenic the documentation, it would be a solution for the “API Reference” part. It would not replace the handwritten “User Manual.” For the Beman Project, we would look for a toolchain that would generate docs in a standards-like manner. I tried to do this here: [API Reference - mp-units](https://mpusz.github.io/mp-units/latest/api_reference/).

There is also [GitHub - standardese/standardese: A (work-in-progress) nextgen Doxygen for C++](https://github.com/standardese/standardese), but Jonathan is no longer maintaining it and personally discouraged me from using it for mp-units.

---

<div class="post-metadata">

**Author:** ![dsankel](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.bemanproject.org/dsankel/32/5_2.png) [@dsankel](https://discourse.bemanproject.org/u/dsankel)\
**Post date:** [September 23, 2024, 6:02pm UTC](https://discourse.bemanproject.org/t/auto-generated-documentation-tool/216/6 "2024-09-23T18:02:05Z")

</div>

[Hyde](https://github.com/adobe/hyde) is what we use for stlab libraries. It parses headers to verify out-of-line documentation is up-to-date. +CC @sean-parent
