Skip to main content

Mkdocs plugin to view Python Classes.

Project description

mkdocs-python-classy



Overview

A MkDocs plugin that helps you navigate the infuriating challenge of understanding a nested a Python class object. Trying to determine what attributes are available or what method does the class provide, and ultimately understanding the entire MRO (Method Resolution Order).

Screenshots

The library works like any other mkdocs plugin.

From here you can see how the MRO is described, links to other Classes covered in the docs, and a convenience Python import config.

MRO

From here you can see the details of the attributes on the class.

Attributes

From here you can see how the code of the method is shown with line numbers, it is collapsible, and will even show multiple if the method is provided in multiple Classes in the MRO order! Additionally you can see the naviagation pane that is auto generated.

Methods

Documentation

Full web-based HTML documentation for this library can be found over on the mkdocs-python-classy Docs website:

Contributing to the Docs

All the Markdown source for the library documentation can be found under the docs folder in this repository. For simple edits, a Markdown capable editor is sufficient - clone the repository and edit away.

If you need to view the fully generated documentation site, you can build it with mkdocs. A container hosting the docs will be started using the invoke commands (details in the Development Environment Guide) on http://localhost:8001. As your changes are saved, the live docs will be automatically reloaded.

Any PRs with fixes or improvements are very welcome!

Attribution

This project is largely based on the work of Classy Class-Based Views. and Classy Django REST Framework, see - Attribution for more details.

Questions

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

mkdocs_python_classy-0.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mkdocs_python_classy-0.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mkdocs_python_classy-0.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for mkdocs_python_classy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 185d756410aec6cf15de882336806a58eeddcfe9ccb5e5d6573ff819591153fc
MD5 f8de793d6e0dd6d6e4adb49a52cbccdd
BLAKE2b-256 fef0cdfca7197df7c7cf4c9d98d26908142cb4fbe01640d3f0a3353dc0253269

See more details on using hashes here.

File details

Details for the file mkdocs_python_classy-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_python_classy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e0fe0cc7b714a6470ccf9ffd27d30bd9f99d0818afa5a1c908ab3088c69680c
MD5 f7cfd244c32ad02a2a28a62a7635c1ac
BLAKE2b-256 cfabb9d21e951fc1da3b01595300d3d04afdbf7a5107cb91b500285cecbd9b24

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