kfrlib / cxxdox

Generates mkdocs files from C++ source code with minimal configuration. Python + libclang, does not use doxygen. Works in docker

Home Page:https://www.kfr.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CXXDOX - Documentation generator for C++ with minimal configuration

  • Generates markdown files for mkdocs or rendered html files
  • Partially compatible with DOXYGEN syntax
  • Built with python and libclang, works in docker (alpine image)
  • Requires some mkdocs plugins:
    • codehilite
    • pymdownx.arithmatex (uses katex for fast math)
  • Built for KFR - C++ DSP library (https://kfr.dev)

Demo

https://www.kfrlib.com/newdocs/index.html

Selected features

  • Parses C++ headers, extracts functions, variables and types and generates mkdocs-compatible markdown files
  • Auto link to repository (including commit hash)
  • Builtin math
  • Code snippets
  • Can extract code snippets from .md files, build and run the code and create markdown files from it. (great for code examples with output)
  • Automatic alphabetical index

Version

0.1-alpha

License

Apache license

Contains parts of Clang code (see clang folder for license details)

About

Generates mkdocs files from C++ source code with minimal configuration. Python + libclang, does not use doxygen. Works in docker

https://www.kfr.dev

License:Apache License 2.0


Languages

Language:Python 96.3%Language:C++ 1.6%Language:JavaScript 1.3%Language:Dockerfile 0.3%Language:Shell 0.3%Language:CMake 0.1%