This release is a pre-release and may not be stable for production use.
# catnado-docgen
A Python documentation utility designed to work with mkdocs.
Originally built for [gae-catnado](https://tylertrussell.github.io/gae-catnado), but could be useful for other projects, too.
Install via pip install catnado-docgen.
This is a work in progress! Expect bugs and unannounced changes.
Real changelog to follow.
## Instructions
#### In conjunction with mkdocs.yaml
To document a package in a project that has a mkdocs.yaml file, simply run: ` docgen build packagename mkdocs.yml --update-pages `
This scans packagename recursively, extracting Python docstrings and building Markdown source files from them.
The new Markdown files are written to a folder called docgen-api in your docs_dir (as specified in mkdocs.yml).
The –update-pages option updates the mkdocs.yml pages entry to contain a nested structure of packages and submodules under the heading docgen-api.
#### Without mkdocs.yml
If you want to do something else with the generated markdown documents, you can just specify an output directory like so:
docgen build packagename /my/path/here
This will write the Markdown source to the specified directory.
Metadata
Release files for catnado-docgen 0.0.1.dev2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| catnado_docgen-0.0.1.dev2-py2-none-any.whl | Python 2 | none | any | Details for catnado_docgen-0.0.1.dev2-py2-none-any.whl |
Release files / catnado_docgen-0.0.1.dev2-py2-none-any.whl
| Download URL | catnado_docgen-0.0.1.dev2-py2-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
d4c6dc3da3cc4530ee942b3b2fda206fe06ba2558b2af0e43eb632fcba5c625d
|
|
BLAKE2b-256 checksum How to use checksums |
f654fbd5923b9c748c233d7ba80092f7d6bd1abc93c7501abe034ce6cf86931b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for catnado-docgen 0.0.1.dev2
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.