Skip to main content

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 }}

[...]

Metadata

Release files for Numkdoc 0.4.3

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

Source distribution (sdist)

Source distribution for Numkdoc 0.4.3
File Size Uploaded
numkdoc-0.4.3.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Numkdoc 0.4.3
File Interpreter ABI Platform
Numkdoc-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / numkdoc-0.4.3.tar.gz

Download URL numkdoc-0.4.3.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
39546a065f39cd96f1e502cc8892f83a1456f896b1e3cc8f19fd56f6468e8f90
BLAKE2b-256 checksum
How to use checksums
9ac6850c52d62d8f4e67d66f127a1270d38ae8b418d1c0f2799f72c226304554
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release files / Numkdoc-0.4.3-py3-none-any.whl

Download URL Numkdoc-0.4.3-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc481d2e4bc00f6d268bd685fa7305c811a685d2c9294e825ba9ffbd80554a4e
BLAKE2b-256 checksum
How to use checksums
fc60ca50cdeec21d61481d1f926a6463a3e4c59e081beee7369848bb4a39ac13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.12.8

Release history Release notifications | RSS feed

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2

1 release file

0.1

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