Don't write docs. Code them.
Project description
MkNodes
Don't write docs. Code them.
Read the completely coded documentation!
Programatically create web pages
def create_github_index_md() -> mk.MkPage:
page = mk.MkPage("Github index")
page += mk.MkCode.for_object(create_github_index_md)
page += mk.MkHeader("MkNodes", level=1)
page += mk.MkHeader("Don't write docs. Code them.", level=4)
page += mk.MkShields()
page += mk.MkLink(DOC_URL, "Read the completely coded documentation!")
page += mk.MkInstallGuide(header="How to install")
page += mk.MkHeader("All the nodes!")
page += mk.MkClassDiagram(mk.MkNode, mode="subclasses", direction="LR")
return page
Create a website tree
@nav.route.page("Changelog", icon="format-list-group")
def _(page: mk.MkPage):
page += mk.MkChangelog()
Powerful templating
{{ "Inlined text" | MkAdmonition(inline="left") }}
How to install
pip
The latest released version is available at the Python package index.
pip install mknodes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mknodes-0.54.3.tar.gz
(938.6 kB
view details)
Built Distribution
File details
Details for the file mknodes-0.54.3.tar.gz
.
File metadata
- Download URL: mknodes-0.54.3.tar.gz
- Upload date:
- Size: 938.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f5f4cf846c5615a82f29d36dc932666a5bfc75c18454d91a0c9b2d7ed070967 |
|
MD5 | 7bf79d13cd6919f5dcefb3d1829e8713 |
|
BLAKE2b-256 | 460cb1d7ba4052469aa0932db335a5ce3f5ad1118f43285d0c92ca8c0434ba05 |
File details
Details for the file mknodes-0.54.3-py3-none-any.whl
.
File metadata
- Download URL: mknodes-0.54.3-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b0a58bf965b99c77d4f886b63017e812fb258f20eeda5e4498cbc439205082d |
|
MD5 | 5a7b5f19782949c16c585d3615706d86 |
|
BLAKE2b-256 | c52ad3910b1543b8e63ab67d5a39cb4fdc517b114c0221e159931ec700ae1e45 |