Anxiu0101/yuegui/core does not have a README file
pub(all) enum AssetKind {
Image
File
Stylesheet
Script
}pub(all) enum ConfigJson {
CJNull
CJBool(Bool)
CJInt(Int)
CJDouble(Double)
CJString(String)
CJArray(Array[ConfigJson])
CJObject(Map[String, ConfigJson])
}pub(all) struct Diagnostic {
level : DiagnosticLevel
code : String
file_path : String
line : Int?
column : Int?
message : String
}pub(all) enum DiagnosticLevel {
Error
Warning
Info
}pub(all) enum FidelityLevel {
Full
Partial
Unknown
}pub(all) struct Heading {
level : Int
text : String
id : String
}pub(all) enum LinkKind {
Internal(String)
External(String)
Asset(String)
}pub(all) struct PageMetadata {
title : String
description : String?
date : String?
author : String?
tags : Array[String]
draft : Bool
layout : String
weight : Int
}pub(all) struct ParsedDocument {
source : SourceDocument
title : String?
headings : Array[Heading]
links : Array[Link]
assets : Array[AssetRef]
diagnostics : Array[Diagnostic]
render_capabilities : RenderCapabilities
}pub(all) struct RenderCapabilities {
format : SourceFormat
mode : RenderMode
fidelity : FidelityLevel
warnings : Array[String]
}pub(all) enum RenderMode {
SemanticHtml
SvgEmbed
Artifact
}pub(all) struct Site {
pages : Map[String, SitePage]
routes : Array[String]
diagnostics : Array[Diagnostic]
}pub(all) struct SitePage {
route : String
title : String
content_html : String
source_format : SourceFormat
metadata : PageMetadata
outgoing_links : Array[String]
headings : Array[Heading]
}pub(all) struct SourceDocument {
path : String
format : SourceFormat
frontmatter : Map[String, String]
body : String
}pub(all) enum SourceFormat {
Markdown
Typst
Html
}pub(all) struct YueguiConfig {
title : String
description : String
language : String
base_url : String
source_dir : String
theme_dir : String
output_dir : String
auto_navigation : Bool
navigation : NavigationConfig
markdown_extensions : Map[String, ConfigJson]
plugins : Array[PluginConfig]
extra : Map[String, ConfigJson]
typst_mode : String
typst_fallback : String
dev_port : Int
dev_host : String
}fn error(code : String, file_path : String, line : Int?, column : Int?, message : String) -> Diagnosticfn filepath_to_route(filepath : String, source_dir : String) -> Stringfn info(code : String, file_path : String, line : Int?, column : Int?, message : String) -> Diagnosticfn warning(code : String, file_path : String, line : Int?, column : Int?, message : String) -> DiagnosticA MoonBit-native static site generator for technical publishing.
Dependencies