Automatically generate API documentation for C language dialects
Project description
clang-api-doc
Generate C API documentation using libclang Python bindings.
For an example see the documentation.
Usage
Simply call clang-api-doc
once per file you wish to document, e.g.
clang-api-doc -f 'include/mylib/first.h' -o 'first.md'
clang-api-doc -f 'include/mylib/second.h' -o 'second.md'
These files can then be used in any way you wish to create your final documentation, for example
- transform to a different format using
pandoc
- write an
index.md
file and usesphinx
to create html docs
Installation
The clang-api-doc
package is on PyPI, so you can use pip
, poetry
, or whatever you like to install it.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clang-api-doc-0.2.0.tar.gz
(4.8 kB
view hashes)
Built Distribution
Close
Hashes for clang_api_doc-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96cef7ace7e1c21fe4352225cd05a220f3912c53d2b01dd3a8a246a17b433eae |
|
MD5 | a59f3e08614e8e41f6cc6ae8811c3b9d |
|
BLAKE2b-256 | bc6dcac5eff1d521f8217027d1604a1f64e913843bce51f02471253fbf9cd465 |