Skip to main content

Automatic code documentation generation tool (to generate markdown files compatible with mkdocstrings)

Project description

Upload Python Package Deploy

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

auto_fast_docs-2.0.3.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

auto_fast_docs-2.0.3-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page