Skip to main content

maincopy_server/render/
mod.rs

1//! Deterministic rendering capabilities consumed by immutable snapshots.
2
3mod asset_path;
4mod catalog;
5mod code;
6mod diagram;
7mod markdown;
8mod metadata;
9mod policy;
10mod robots;
11mod rss;
12mod site;
13mod sitemap;
14mod svg;
15mod xml;
16
17pub(crate) use asset_path::SnapshotAssetPath;
18pub(crate) use catalog::CatalogRetentionError;
19pub(crate) use catalog::ContentCompiler;
20pub use catalog::{
21    CatalogBuildError, CatalogBuildErrorCode, ContentCatalog, compile_content_catalog,
22};
23pub use markdown::{
24    CodeBlockOrdinal, MarkdownRenderError, MarkdownRenderErrorCode, MarkdownRenderLocation,
25    NavigationRejection, RenderDestinationKind, RenderedPost,
26};
27pub use site::{
28    RenderedSiteShell, SiteSnapshot, SiteSnapshotBuildError, SiteSnapshotBuildErrorCode,
29    SiteSnapshotReader, render_site_shell,
30};
31
32pub(crate) use site::{
33    SiteSnapshotActivator, SnapshotPublicAsset, render_bound_post_preview,
34    render_bound_post_revision_preview, snapshot_store,
35};
36
37pub(crate) use policy::REFERRER_POLICY;