kotoba-ssg 0.1.16

Static Site Generator implemented in Kotoba language
docs.rs failed to build kotoba-ssg-0.1.16
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

Kotoba Static Site Generator (SSG)

A complete static site generator implemented entirely in the Kotoba language. This crate provides:

  • Markdown Parser: Converts Markdown files to HTML with syntax highlighting
  • HTML Template Engine: Jsonnet-based template rendering system
  • Static Site Generator: Full site generation with asset management
  • GitHub Pages Deployer: Automated deployment to GitHub Pages
  • Documentation Builder: Specialized builder for technical documentation

Usage

use kotoba_ssg::{SiteGenerator, SiteConfig};

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let config = SiteConfig {
        source_dir: "content".into(),
        output_dir: "_site".into(),
        template_dir: "_templates".into(),
        base_url: "https://example.com".into(),
    };

    let generator = SiteGenerator::new(config);
    generator.build().await?;

    Ok(())
}