API documentation generator for MdBook
Project description
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.
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 apibook-0.1.2.tar.gz.
File metadata
- Download URL: apibook-0.1.2.tar.gz
- Upload date:
- Size: 10.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56fa204d28923fd21bfc564c94a0c34956f3d80ed03859f50007587abeb6c6f8
|
|
| MD5 |
0e8f090ffc9e1f1e4a445c80452b00f2
|
|
| BLAKE2b-256 |
c9506c5e054186680ed613ff073a941152fb233a853c38f0276363cc8c90f277
|
File details
Details for the file apibook-0.1.2-py3-none-any.whl.
File metadata
- Download URL: apibook-0.1.2-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
da1fcaf0d95dd59b122d9ba20338fadcf04455a2924100271696f5d818d760a5
|
|
| MD5 |
d53e8f3268fa4481d214289aaf449080
|
|
| BLAKE2b-256 |
09b0bdce6e7ff7a1a610bde1f60a158b9715134ecdcacdd6e9530da4213272b1
|