Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. C/C++
  3. hdoc

hdoc

AGPL-3.0C++1.4.1

A modern documentation generator for C++ that automatically creates API docs with integrated Markdown pages and instant search.

Visit WebsiteGitHubGitHub
339 stars28 forks0 contributors

What is hdoc?

hdoc is a modern documentation tool specifically built for C++ projects. It automatically generates API documentation from source code using an advanced LLVM/Clang-based parser and integrates Markdown pages into a unified static website. It solves the problem of keeping documentation up-to-date with code changes by enabling easy CI integration.

Target Audience

C++ developers and teams who need to maintain comprehensive, up-to-date documentation for their codebases, especially those using modern C++ features and CI/CD pipelines.

Value Proposition

Developers choose hdoc for its fast, static HTML output with no JavaScript requirement, its deep understanding of modern C++ via Clang, and its ability to seamlessly combine API docs with Markdown pages in one searchable site.

Overview

The modern documentation tool for C++.

Use Cases

Best For

  • Automatically generating API documentation for large C++ codebases
  • Integrating Markdown documentation with API references in a single site
  • Adding documentation generation to CI/CD pipelines for C++ projects
  • Creating fast, static documentation sites without JavaScript dependencies
  • Documenting modern C++ projects with advanced language features
  • Enabling instant search across a C++ codebase's symbols and documentation

Not Ideal For

  • Projects requiring robust Windows support with guaranteed functionality
  • Teams preferring permissive open-source licenses like MIT or Apache
  • Small C++ projects that need only basic documentation without CI integration
  • Multi-language codebases where C++ is just one component

Pros & Cons

Pros

Modern C++ Parsing

Uses an advanced LLVM/Clang-based parser to understand the newest C++ features, ensuring accurate documentation for modern codebases.

Unified Documentation Site

Integrates Markdown pages with autogenerated API documentation in a single static site, keeping all docs in one searchable place.

CI-Friendly Design

Designed for easy integration into CI pipelines, allowing documentation to be automatically updated with each build, as highlighted in the features.

Fast Static Output

Generates fully static HTML without required JavaScript, ensuring fast loading and minimal dependencies for end-users.

Cons

Limited Windows Support

Windows support is unofficial and not tested by the team, with hdoc-online.exe reportedly non-functional due to linking issues, as admitted in the README.

Heavy Dependencies

Requires LLVM/Clang and OpenSSL, which can complicate setup, especially on non-Linux systems, and adds overhead to the build process.

Restrictive Licensing

Available under AGPLv3, which may be too restrictive for some commercial projects, requiring a custom license for more permissive use.

Open Source Alternative To

hdoc is an open-source alternative to the following products:

Doxygen
Doxygen

Doxygen is a documentation generator tool for various programming languages that produces reference documentation from annotated source code.

Frequently Asked Questions

Quick Stats

Stars339
Forks28
Contributors0
Open Issues14
Last commit1 year ago
CreatedSince 2021

Tags

#clang#developer-tools#static-site-generator#documentation-tool#c-plus-plus#code-search#ci-cd#markdown#api-documentation#llvm#doxygen#cpp#documentation-generator

Built With

T
TOML
L
LLVM
N
Ninja
r
rapidjson
c
cmark-gfm
B
Bulma
C
Clang
M
Meson
s
spdlog
C
C++

Links & Resources

Website

Included in

C/C++70.6k
Auto-fetched 3 hours ago

Related Projects

DoxygenDoxygen

Official doxygen git repository

Stars6,524
Forks1,353
Last commit1 day ago
Natural DocsNatural Docs

Natural Docs source code documentation system

Stars225
Forks32
Last commit7 days ago
DoxideDoxide

Modern documentation for modern C++. Configure with YAML, output Markdown, post-process with Material for MkDocs.

Stars142
Forks13
Last commit2 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub