Automatic code documentation generation tool (to generate markdown files compatible with mkdocstrings)
Project description
Auto-Doc
A single file auto documentation builder made to be interfaced with mkdocstrings, and ran in containerized CI/CD
Drop it on top level of your package wrapper folder. It requires a setup.py wrapped package structure like so :
- :open_file_folder: PackageRepo
- :page_facing_up: setup.py
- :page_facing_up: auto-doc.py
- :page_facing_up: mkdocs.yml
- :open_file_folder: docs
- :page_facing_up: index.md
- :open_file_folder: Package
- :page_facing_up: __init__.py
- :page_facing_up: myfile.py
- :open_file_folder: mysubpackage
- :page_facing_up: __init__.py
- :page_facing_up: myfile2.py
Then, inside the top wrapping folder, PackageRepo, you can call auto-docs.py
like this :
python auto-docs.py Package
It requires a single command line argument that tells it what is the folder that contains the python source files in your wrapping folder.
That's all !
Here is an example of the result (and also a documentation for this repo's code)
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
Built Distribution
Hashes for auto_fast_docs-2.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38fc8fafd4bc6fce8c6848d7575830e7e1e53a7a8441cc2c31252ba407a752ec |
|
MD5 | 6ff0748eb85d67e6410cad3d269d98cf |
|
BLAKE2b-256 | c74e3776567b8c23d31243379d221bdaccddfd30e90a815dc66a6e393bd24956 |