Expand description
euv-docs
Cross-platform documentation viewer and static site generator powered by euv and euv-ui, parsing Markdown and YAML frontmatter into native UI scenes or static HTML/JSON bundles.
Structs§
- DocFrontmatter
- Parsed YAML frontmatter metadata attached to a Markdown documentation file.
- DocPage
- Fully parsed documentation page ready for native rendering or static generation.
- DocSite
- Collection of parsed documentation pages forming a complete site.
- DocSite
Frontmatter - Optional site-level metadata declared under
site:in root Markdown frontmatter. - DocToc
Item - Table-of-contents heading entry derived from a parsed document.
- Docs
Build Options - Configuration controlling static documentation site generation and optional dev live-reload.
- Generated
Site Report - Result summary emitted after generating a static documentation bundle.
- Search
Index Entry - Compact search index record serialized into
search-index.jsonand embedded client search.
Enums§
- DocBlock
- Structured content block extracted from a Markdown documentation file.
Constants§
- DEFAULT_
DOC_ TITLE - Default title assigned when a document omits frontmatter title.
- DOCS_
FLAG_ GENERATE - CLI flag triggering static HTML/JSON site generation.
- DOCS_
FLAG_ HEADLESS - CLI flag enabling headless verification mode.
- DOCS_
FLAG_ INTERACTIVE - CLI flag keeping the native documentation viewer open in an interactive event loop.
- DOCS_
SITE_ TAGLINE - Default site tagline displayed on the documentation home page.
- DOCS_
SITE_ TITLE - Default site title for generated documentation bundles.
- DOCS_
WINDOW_ HEIGHT - Default logical window height for the docs viewer.
- DOCS_
WINDOW_ TITLE - Default window title for the interactive documentation viewer.
- DOCS_
WINDOW_ WIDTH - Default logical window width for the docs viewer.
Functions§
- build_
docs_ bundle - Loads all Markdown files beneath
src_dir(excludingout_dir) and builds a complete static docs site. - generate_
static_ docs - Generates static HTML pages, search index, and sitemap for
siteintoout_dirusing default options. - generate_
static_ docs_ with_ options - Generates a complete static documentation site with clean URLs, instant search, TOC, asset copying, and optional dev HMR.
- load_
doc_ site - Recursively loads all
.mdfiles underroot_dirinto a sortedDocSite. - load_
doc_ site_ with_ options - Recursively loads all
.mdfiles underroot_dirwith optional site title override and smart directory filtering. - mount_
doc_ page - Renders a single
DocPage(header, section badge, TOC, and Markdown blocks) as native nodes. - mount_
docs_ viewer - Mounts the cross-platform native documentation viewer for
siteusing zero-ctxmacros. - parse_
markdown_ page - Parses a single Markdown document with optional YAML frontmatter into a
DocPage. - render_
docs_ app - Launches the documentation viewer app in either single-frame or interactive event-loop mode.
- render_
docs_ smoke - Launches the documentation viewer app and steps one headless or native frame.
- render_
page_ html - Renders a single
DocPageinto a self-contained static HTML document using default build options.