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 }}
[...]
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)
| File | Size | Uploaded | |
|---|---|---|---|
| numkdoc-0.4.3.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|