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.4.tar.gz
(938.7 kB
view details)
Built Distribution
File details
Details for the file mknodes-0.54.4.tar.gz
.
File metadata
- Download URL: mknodes-0.54.4.tar.gz
- Upload date:
- Size: 938.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba0003f72ab8a4c56b674cbfd420002de89f970a7922832a0e2e6ec8997501ba |
|
MD5 | c92d0c97ae1b79bb4fc45bbc663f2ce9 |
|
BLAKE2b-256 | 4e5e78c0bede6e1e933b896c1e01d70b58730dcf19d15b95de9180d73b04622e |
File details
Details for the file mknodes-0.54.4-py3-none-any.whl
.
File metadata
- Download URL: mknodes-0.54.4-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 | 815246644e62b2b815df2bb7d9e8848f7eb1119b901dc49cc96b5444f57b6d11 |
|
MD5 | 0da0b420f0e96889f803a4502a71c078 |
|
BLAKE2b-256 | 29a8829b64f299876288fd7bf0501c416b862ff9eedbb673d04be5cf4a7672cb |