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:
-
Download this repo and (eventually) unzip it in a folder
-
Inside the project folder, execute the command
python setup.py developto install the plugin on your local machine. -
Go to your mkdocs project folder, edit the
mkdocs.ymlfile 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
39546a065f39cd96f1e502cc8892f83a1456f896b1e3cc8f19fd56f6468e8f90
|
|
| MD5 |
b5cb66eb97b25ee5752032d0e2c7f24c
|
|
| BLAKE2b-256 |
9ac6850c52d62d8f4e67d66f127a1270d38ae8b418d1c0f2799f72c226304554
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc481d2e4bc00f6d268bd685fa7305c811a685d2c9294e825ba9ffbd80554a4e
|
|
| MD5 |
0b54d8bd896e15f8c71fb25d11df0c06
|
|
| BLAKE2b-256 |
fc60ca50cdeec21d61481d1f926a6463a3e4c59e081beee7369848bb4a39ac13
|