docs-core 0.1.1

Rust docs pipeline core: CommonMark+GFM to static HTML with astro-island-compatible island emission, so a Rust shell hydrates the estate's existing SolidJS bundles. Consolidates Tachyon + docs-pipeline + the starlight-* stack (ADR-0004 §2.5)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Typed errors. A malformed fence names the fence; the renderer never
//! swallows a failure silently.

/// Why a document could not be rendered.
#[derive(Debug, Clone, PartialEq, thiserror::Error)]
pub enum DocsError {
    /// An `island` fence carried no component name.
    #[error("island fence without a component name: `{0}`")]
    IslandWithoutName(String),
    /// An island fence's body was not a JSON object.
    #[error("island props must be a JSON object, got: `{0}`")]
    InvalidIslandProps(String),
}