hedron-docs
Experimental Markdown compiler and Hedron application toolkit.
hedron-docs turns a bounded Markdown corpus into a deterministic JSON manifest and renders that
manifest through native Hedron components. The 0.5 surface is intentionally experimental and may
change:
Package maturity: Beta tooling-grade · Repository package version: 0.5.0 · Import: hedron_docs
from hedron_docs import compile_site, create_docs_app, load_config
config = load_config("hedron-docs.toml")
manifest = compile_site(config)
app = create_docs_app(manifest)
Local images and linked files are validated, fingerprinted, and embedded in the immutable manifest;
the app serves them from /_hedron-docs/assets/... with content hashes and bounded sizes.
schema_version = 4
[site]
title = "Project docs"
docs_dir = "docs"
base_url = "https://docs.example.com"
[build]
output = "build/hedron-docs/site.json"
max_source_bytes = 2000000
max_asset_bytes = 10000000
max_nodes = 10000
max_depth = 64
max_table_cells = 10000
max_code_blocks = 200
max_code_block_bytes = 256000
max_directives = 100
max_query_length = 200
The 0.4 compiler lowers CommonMark, tables, definition lists, footnotes, admonitions, details, content tabs, API directives, and allowlisted demo references directly from parser tokens into a closed typed AST, then renders them through native Hedron primitives. Headings expose stable alias anchors; code and tables are responsive; code blocks include language labels and native copy controls. Every parsed node carries a stable source span. Raw HTML and unknown extension syntax fail with a diagnostic containing a code, title, location, explanation, and remediation.
The 0.5 application shell is Hedron-native: it provides accessible skip links and landmarks, responsive primary/mobile navigation, breadcrumbs, release banners, source actions, and a no-JavaScript color-mode preference form.
The package is not a drop-in MkDocs plugin. import-mkdocs reads site metadata, navigation, and
exclusions as a migration aid; it never executes arbitrary MkDocs plugins or theme code.
hedron-docs check hedron-docs.toml
hedron-docs build hedron-docs.toml
hedron-docs serve hedron-docs.toml
hedron-docs import-mkdocs mkdocs.yml
The repository proving app is available at apps/hedron-docs/app.py:app and can be started with
uv run uvicorn --app-dir apps/hedron-docs app:app.
This package is experimental and is not part of Hedron's stable support matrix.
Release files for hedron-docs 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hedron_docs-0.5.1.tar.gz | 40.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hedron_docs-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 85.1 kB
Release files / hedron_docs-0.5.1.tar.gz
| Download URL | hedron_docs-0.5.1.tar.gz |
|---|---|
| Size | 40.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4594e650d8336c7d6f1d61a31eb70d7cb55ac9810218800041cf58f9a31fee3
|
|
BLAKE2b-256 checksum How to use checksums |
e4bc306623d58344ae0c93cb77797856c6c1b7594779507b0423348d8f9eda70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / hedron_docs-0.5.1-py3-none-any.whl
| Download URL | hedron_docs-0.5.1-py3-none-any.whl |
|---|---|
| Size | 44.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25b3ea2aa445213a95b9befc28f14d32c567ebee02ed07eb2a57a84ffd6e0523
|
|
BLAKE2b-256 checksum How to use checksums |
45f93c3552e3d37a129164b5d333a7ca27a25468e9ebbc7f09936e948afd2b61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|