A sphinx autodoc extension for c modules
Project description
Dual-licensed under MIT or the UNLICENSE.
A basic attempt at extending Sphinx and autodoc to work with C files.
The idea is to add support for similar directives that autodoc provides. i.e.
A function in my_c_file.c:
/**
* A simple function that adds.
*
* @param a: The initial value
* @param b: The value to add to `a`
*
* @returns The sum of `a` and `b`.
*
*/
int my_adding_function(int a, int b) {
return a + b;
}
Could be referenced in documentation as:
.. autocfunction:: my_c_file.c::my_adding_function
With the resulting documentation output of:
- int my_adding_function(int a, int b)
A simple function that adds.
- Parameters:
a - The initial value
b - The value to add to a
- Returns:
The sum of a and b
Requires
Similar Tools
Full Documentation
The complete documentation can be found at https://sphinx-c-autodoc.readthedocs.io/en/latest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sphinx_c_autodoc-1.6.0.tar.gz.
File metadata
- Download URL: sphinx_c_autodoc-1.6.0.tar.gz
- Upload date:
- Size: 31.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0c2e374330987592c54a3e5d74f17fdbe24cd3c53941b402aeb09ed95f8930d
|
|
| MD5 |
1a567b06d3603601ae2a50da351b9357
|
|
| BLAKE2b-256 |
11a3f0204c80a97ae034cd8f9b489f0561655c301f8efc83ee155e267f2d54ba
|
Provenance
The following attestation bundles were made for sphinx_c_autodoc-1.6.0.tar.gz:
Publisher:
release.yml on speedyleion/sphinx-c-autodoc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_c_autodoc-1.6.0.tar.gz -
Subject digest:
d0c2e374330987592c54a3e5d74f17fdbe24cd3c53941b402aeb09ed95f8930d - Sigstore transparency entry: 702287338
- Sigstore integration time:
-
Permalink:
speedyleion/sphinx-c-autodoc@9a13fad4e6c26d416c6dc5f49097ba2edebb512f -
Branch / Tag:
refs/tags/v1.6.0 - Owner: https://github.com/speedyleion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9a13fad4e6c26d416c6dc5f49097ba2edebb512f -
Trigger Event:
push
-
Statement type:
File details
Details for the file sphinx_c_autodoc-1.6.0-py3-none-any.whl.
File metadata
- Download URL: sphinx_c_autodoc-1.6.0-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6344bcf264dd950c234830c9b690388b71f090aa8057dd5070fc39b0716b1737
|
|
| MD5 |
da624c5cf18683c49c41d35189b5c60f
|
|
| BLAKE2b-256 |
56f604832cca338efa3b590584055be6fa0b96234c6f49e14378d9ceb5399a81
|
Provenance
The following attestation bundles were made for sphinx_c_autodoc-1.6.0-py3-none-any.whl:
Publisher:
release.yml on speedyleion/sphinx-c-autodoc
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sphinx_c_autodoc-1.6.0-py3-none-any.whl -
Subject digest:
6344bcf264dd950c234830c9b690388b71f090aa8057dd5070fc39b0716b1737 - Sigstore transparency entry: 702287341
- Sigstore integration time:
-
Permalink:
speedyleion/sphinx-c-autodoc@9a13fad4e6c26d416c6dc5f49097ba2edebb512f -
Branch / Tag:
refs/tags/v1.6.0 - Owner: https://github.com/speedyleion
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@9a13fad4e6c26d416c6dc5f49097ba2edebb512f -
Trigger Event:
push
-
Statement type: