Skip to main content

Provide an automatic documentation for Django's Apps

Project description

Autodoc-Django

An auto documentation tool for Django's Apps with MermaidJS in MarkDown files.

graph TD
    A[Django developer] --> B{Has docs?};
    B -- Yes --> C[Ship it!];
    B -- No --> D[Use django-autodoc];
    D --> E[Generate docs];
    E --> F[Ship it!];

Installation and Setup

To install Autodoc-Django, run the following command:

pip install autodoc-django

In settings.py file, add autodoc on INSTALLED_APPS constant.

INSTALLED_APPS = [
    ...
    "autodoc",
]

Usage

To generate a Flow Chart documentation for your Django project, use the following command:

python3 manage.py autodoc_flow <app_name>

To generate a Sequence Diagram documentation for your Django project, use the following command:

python3 manage.py autodoc_sequence <app_name>

This will create documentation based on your Django models and views.

Contributing

Contributions to Autodoc-Django are welcome! Please fork the repository and submit a pull request.

License

Autodoc-Django is licensed under the MIT License.

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

autodoc_django-0.1.0.tar.gz (10.5 kB view details)

Uploaded Source

File details

Details for the file autodoc_django-0.1.0.tar.gz.

File metadata

  • Download URL: autodoc_django-0.1.0.tar.gz
  • Upload date:
  • Size: 10.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for autodoc_django-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b9a0c16752a85a3615e45ccfbc173067c62fa63cb21c78eb4fa3625ef2b66ebe
MD5 56e65c1fcefe6e8683f29e449e263d76
BLAKE2b-256 b60853b753b06d99307d82837e63d1bd01ff9dc57576f8dee32df1fa7f724be6

See more details on using hashes here.

Supported by

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