Skip to main content

Documentation Status Latest Version Supported Python versions Development Status License Download format Supported Python implementations

Dirty Models Sphinx extension

Sphinx extension for dirty models

About

Sphinx extension to help developers to write documentation of applications which use Dirty Models.

Features

  • Describe each field with real type.

  • All field types defined on Dirty Models are documented.

  • Use prefixed (doc comment using #: before field) or suffixed (Multiline doc string after field) documentation for each field.

  • Document read only fields.

  • Document default value for each field.

  • Document datetime format on those fields.

Installation

Just use pip to install it:

$ pip install dirty-models-sphinx

And add to Sphinx extensions on your project.

conf.py file:

extensions = [
    'sphinx.ext.autodoc',
    'dirty_models_sphinx'
]

Usage

Just use regular autodocumenter:

.. automodule:: models
    :members:
    :show-inheritance:

Future

Documentation

http://dirty-models-sphinx-extension.readthedocs.io

Metadata

Release files for dirty-models-sphinx 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dirty-models-sphinx 0.2.0
File Size Uploaded
dirty-models-sphinx-0.2.0.tar.gz 4.9 kB Details

Release files / dirty-models-sphinx-0.2.0.tar.gz

Download URL dirty-models-sphinx-0.2.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
37afe966a29968a43bfa466b9d42bf93648a4f698f3bd79a34c9a47c181c5a4d
BLAKE2b-256 checksum
How to use checksums
9881ff8753f16269c1ede8ebd712c6ce30138b90f3bac103d0035fd30cff49c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.1

1 release file

0.5.0

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

This release

0.2.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page