Skip to main content

Mkdoc plugin to autodoc your numpy docstring

Project description

NumKdoc

NumKdoc is a plugin for Mkdoc allowing you to automatically generate documentation from your Numpy style docstring, by making a simple call to classes.

This project is not maintained, and the parsing is not complete. It is based on the NumpyDoc parser.

Quick start

If you want to try this plugin as-it-is, follow these steps:

  1. Download this repo and (eventually) unzip it in a folder

  2. Inside the project folder, execute the command python setup.py develop to install the plugin on your local machine.

  3. Go to your mkdocs project folder, edit the mkdocs.yml file and add these few lines at the end:

    plugins:
        - numkdoc
    

That's it. Now you can call the parsing of a class using the tag {{ module.ClassName }}, Numkdoc will automatically substitue that tag with the class documentation.

Example

For example, you could edit the docs/api/core.md file and insert the tag in any place, like this:

# Core Api

[...]

{{ src.module.Class }}

[...]

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

Numkdoc-0.3.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

Numkdoc-0.3.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file Numkdoc-0.3.0.tar.gz.

File metadata

  • Download URL: Numkdoc-0.3.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for Numkdoc-0.3.0.tar.gz
Algorithm Hash digest
SHA256 c9a1c921c0e48bf6d547a482b33ceeefd9952240bdaf03c6c8d1559cfde7dc52
MD5 e5bcf40a445ef27611082cd6fcf5aebe
BLAKE2b-256 7a8830ab64fb77bd76a1e1e0d45a4d5a731c568e358c8ac1ec90dde7ed7b6fe2

See more details on using hashes here.

Provenance

File details

Details for the file Numkdoc-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: Numkdoc-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for Numkdoc-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c0990ab962a14824d79c15787f3a5ed715ccc9ed2f75597a4dcb1325a60f8162
MD5 8b6a5eb5e23a003f1251a7d7881cae84
BLAKE2b-256 d750c6352b211c9f57904c1170f60a333473ae1dcb3f70a97e61c9e203e53195

See more details on using hashes here.

Provenance

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