python-apibook
Are you tired of fighting Sphinx to get it to do what you want? Do you want to write your documentation in Markdown? Do you want to easily combine prose with API docs? Then this is the tool for you!
python-apibook uses the AST module to parse your code and generate API documentation in Markdown format, and can easily be merged into your existing mdbook SUMMARY.md file.
Installation
pip install git+https://github.com/tgolsson/python-apibook.git
Usage
To see the available options, run:
python -m apibook.cli --help
To generate API documentation for a package, run:
python-apibook my_package doc/src --summary-template-file doc/SUMMARY.tmpl
This will generate all markdown sources and a SUMMARY.md file in the doc/src directory, which you can include in your mdbook project. Hint: Combine this with mdbook serve doc to see the results in real-time.
Metadata
Release files for apibook 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apibook-0.1.2.tar.gz | 10.1 kB | Without provenance | Details for apibook-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apibook-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for apibook-0.1.2-py3-none-any.whl |
Total release size: 21.6 kB
Release files / apibook-0.1.2.tar.gz
| Download URL | apibook-0.1.2.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56fa204d28923fd21bfc564c94a0c34956f3d80ed03859f50007587abeb6c6f8
|
|
BLAKE2b-256 checksum How to use checksums |
c9506c5e054186680ed613ff073a941152fb233a853c38f0276363cc8c90f277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / apibook-0.1.2-py3-none-any.whl
| Download URL | apibook-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da1fcaf0d95dd59b122d9ba20338fadcf04455a2924100271696f5d818d760a5
|
|
BLAKE2b-256 checksum How to use checksums |
09b0bdce6e7ff7a1a610bde1f60a158b9715134ecdcacdd6e9530da4213272b1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for apibook 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.