Skip to main content

Crate euv_docs

Crate euv_docs 

Source
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.
DocSiteFrontmatter
Optional site-level metadata declared under site: in root Markdown frontmatter.
DocTocItem
Table-of-contents heading entry derived from a parsed document.
DocsBuildOptions
Configuration controlling static documentation site generation and optional dev live-reload.
GeneratedSiteReport
Result summary emitted after generating a static documentation bundle.
SearchIndexEntry
Compact search index record serialized into search-index.json and 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 (excluding out_dir) and builds a complete static docs site.
generate_static_docs
Generates static HTML pages, search index, and sitemap for site into out_dir using 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 .md files under root_dir into a sorted DocSite.
load_doc_site_with_options
Recursively loads all .md files under root_dir with 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 site using zero-ctx macros.
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 DocPage into a self-contained static HTML document using default build options.