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.1.tar.gz
(941.3 kB
view details)
Built Distribution
File details
Details for the file mknodes-0.54.1.tar.gz
.
File metadata
- Download URL: mknodes-0.54.1.tar.gz
- Upload date:
- Size: 941.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35ab2e1ed793bc03023cbb275c7cd8c4f66ce4a58550e7b7d5a06b0235b28018 |
|
MD5 | a9aa468ba261aad47c0a9eb71a2e42b2 |
|
BLAKE2b-256 | e598fa5f644da74d0cb586bc56d0bdf1cab3376666ba8342480bcf0f5d363c3f |
File details
Details for the file mknodes-0.54.1-py3-none-any.whl
.
File metadata
- Download URL: mknodes-0.54.1-py3-none-any.whl
- Upload date:
- Size: 1.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fa971ca8bb85eb105d65a673bac875a532f5cc1a8c227ad1176935fef1cacbb |
|
MD5 | 288b5d01903b3f810bb8caea0cb31bc7 |
|
BLAKE2b-256 | fc95a7e8793282a98421e25c68613f5831dba4010e991a04642ebb9e6f00d896 |