Skip to main content

euv_docs/model/
const.rs

1/// Default title assigned when a document omits frontmatter title.
2pub const DEFAULT_DOC_TITLE: &str = "Untitled Document";
3/// Default site title for generated documentation bundles.
4pub const DOCS_SITE_TITLE: &str = "Euv Documentation";
5/// Default site tagline displayed on the documentation home page.
6pub const DOCS_SITE_TAGLINE: &str = "Cross-platform native Rust UI framework across Web, Android, iOS, iPadOS, macOS, Windows, and Linux.";
7/// Official Euv brand logo image URL used in documentation headers and favicons.
8pub const DOCS_OFFICIAL_LOGO_URL: &str = "https://devhub.vip/pages/docs/img/euv.png";
9/// Stable release version marker embedded in compiled documentation WASM bundles.
10pub const EUV_DOCS_RELEASE_MARKER: &str = concat!("euv-ui-", env!("CARGO_PKG_VERSION"));
11/// Stable class identifier marker for the compiled Rust public catalog component.
12pub const DOCS_CATALOG_CARD_CLASS: &str = "docs-catalog-card";
13/// Public JSON endpoint path supplying stored page artifacts to the home catalog.
14pub const DOCS_CATALOG_API_PATH: &str = "/api/page-artifacts";
15
16pub(crate) const DOCS_WORDS_PER_MINUTE: usize = 200;
17pub(crate) const DOCS_DEFAULT_LANG: &str = "en-US";
18pub(crate) const DOCS_DEFAULT_TOC_LABEL: &str = "On this page";
19pub(crate) const DOCS_DEFAULT_PREV_LABEL: &str = "Previous";
20pub(crate) const DOCS_DEFAULT_NEXT_LABEL: &str = "Next";