Skip to main content

Mkdoc plugin to autodoc your numpy docstring

Project description

NumKdoc

pypi

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.4.3.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

Numkdoc-0.4.3-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file numkdoc-0.4.3.tar.gz.

File metadata

  • Download URL: numkdoc-0.4.3.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for numkdoc-0.4.3.tar.gz
Algorithm Hash digest
SHA256 39546a065f39cd96f1e502cc8892f83a1456f896b1e3cc8f19fd56f6468e8f90
MD5 b5cb66eb97b25ee5752032d0e2c7f24c
BLAKE2b-256 9ac6850c52d62d8f4e67d66f127a1270d38ae8b418d1c0f2799f72c226304554

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Numkdoc-0.4.3-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for Numkdoc-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bc481d2e4bc00f6d268bd685fa7305c811a685d2c9294e825ba9ffbd80554a4e
MD5 0b54d8bd896e15f8c71fb25d11df0c06
BLAKE2b-256 fc60ca50cdeec21d61481d1f926a6463a3e4c59e081beee7369848bb4a39ac13

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