euv-docs 0.45.0

Cross-platform documentation viewer and static site generator powered by euv and euv-ui.
Documentation

Site-level configuration for the euv-docs demo home page

(consumed by build.rs when EUV_DOCS_SRC_DIR is unset, e.g.

during cargo clippy / cargo test in the euv-docs crate itself).

site: title: Euv-docs description: A documentation site generator powered by euv + euv-ui. logo: '๐Ÿ“˜' locales:

  • prefix: /

    Content directory under docs/docs/. Required: the build refuses to

    guess a locale's content location, and fails loudly when it is empty

    instead of emitting a one-page site.

    dir: en lang: en-US label: English title: Euv-docs description: A documentation site generator powered by euv + euv-ui. footer: MIT Licensed | Built with euv + euv-ui toc_label: On this page prev_label: Previous next_label: Next navbar:
    • { text: Home, link: / }
    • { text: Guide, link: /guide/ }
    • { text: Components, link: /components/ }
    • { text: GitHub, link: https://github.com/euv-dev/euv }

Euv-docs

Zero-JS Static Documentation Site Generator Powered by euv + euv-ui

Crates.io Version Crates.io Downloads Docs.rs CI Status Rust 2024 License: MIT

Workspace Overview ยท API Docs ยท Agent Engineering Rules


Overview

Zero-JS static documentation site generator powered by euv + euv-ui (Rust/WASM), featuring YAML frontmatter site configuration, localized navigation, live client-side search, footer item declarations, and native VS Code Eva Bold syntax highlighting.

Responsibilities & Module Layout

  • build.rs โ€” Reads YAML frontmatter from site README.md and compiles Markdown trees with zero guessing
  • site / theme โ€” Responsive sidebar, table of contents, locale switcher, footer items (footer_link, footer_items), and live search
  • docs/docs/en/ โ€” Canonical framework guides, component catalog, and GFM + Eva Bold syntax verification pages

Footer Items

The footer is one row: the locale's footer text, then the items the site declares. Every part of the content comes from the site configuration (footer_link, footer_items with text, link, optional icon, and alt). The row never wraps; an item that does not fit is cut with an ellipsis so filing notices remain legible and copyable.

Installation & Usage

cargo install euv-docs
cargo run -p euv-docs -- --generate docs/docs/en target/docs-preview

Verification

cargo run -p euv-cli -- fmt --check
cargo clippy -p euv-docs --all-features --all-targets -- -D warnings
cargo test -p euv-docs --all-features

Documentation & Governance

License

This project is licensed under the MIT License. See the LICENSE file for details.

Contact

For inquiries, please contact the author at root@devhub.vip.