QuartoConfig
docblock
Main configuration struct for QuartoDocBuilder.
Fields
Basic
module_name::Union{Module, Nothing}: The module to documentoutput_dir::String: Output directory for rendered site (default: “site”)repo::String: GitHub repository in “user/repo” format ## Executionfreeze::String: Quarto freeze option (default: “auto”)cache::String: Quarto cache option (default: “true”)warning::String: Show warnings (default: “false”) ## Referencereference::Vector{ReferenceGroup}: Reference page organization ## Sections (Multiple Navbar Dropdowns)sections::Vector{SectionConfig}: Multiple navbar sections with dropdownsget_started::String: Path to “Get Started” page (shown prominently in navbar) ## Newsnews::Bool: Generate news page from NEWS.md (default: true)news_file::String: Path to news file (default: “NEWS.md”) ## Navigationnavbar_left::Vector{NavbarItem}: Custom left navbar itemsnavbar_right::Vector{NavbarItem}: Custom right navbar items ## Commentscomments::Bool: Enable Giscus comments (default: true)giscus_repo::String: Repository for Giscus (defaults torepo) ## Appearancetheme::ThemeConfig: Theme configuration ## Footerfooter::FooterConfig: Footer configuration
Example (with multiple sections)
config = QuartoConfig(
module_name = MyPackage,
repo = "user/MyPackage.jl",
reference = [
ReferenceGroup(title="Core", contents=[:main_func, :helper_func]),
ReferenceGroup(title="Utils", contents=[starts_with("util_")])
],
sections = [
SectionConfig(title="Tutorials", dir="tutorials", order=1),
SectionConfig(title="Explanation", dir="explanation", order=2),
SectionConfig(title="How-to Guides", dir="how-to", order=3)
],
theme = ThemeConfig(bootswatch="cosmo", dark_mode=true)
)