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.2.tar.gz
(938.6 kB
view details)
Built Distribution
File details
Details for the file mknodes-0.54.2.tar.gz
.
File metadata
- Download URL: mknodes-0.54.2.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 | 1f795c53a8a8773e0654c6f55e224d2d0dc6211b17ed8df5b2064eb6749c36dc |
|
MD5 | 18532fd9be7e8b5f10cf2ec82425db73 |
|
BLAKE2b-256 | 39a7f797668f669d7ea919aa433fed509ea0e64974262512cd785744ba2e4c57 |
File details
Details for the file mknodes-0.54.2-py3-none-any.whl
.
File metadata
- Download URL: mknodes-0.54.2-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 | b31efb978ac901fae4955788e47876806fd93836b0cf8cfa401d77be65682e6c |
|
MD5 | 21f46082f2d1ac852e32184b6128bdb8 |
|
BLAKE2b-256 | a2c1f8cb45a8b6a6362b22ac3ed75521053bea0cfbd741667e785ec88451c822 |