quarto_build_site

docblock
quarto_build_site(config::QuartoConfig)

Build the documentation site from a QuartoConfig struct.

This is the config-based alternative to quarto_build_site(module_name; kwargs...). Supports all pkgdown-like features including grouped references, multiple sections, news, etc.

Arguments

  • config::QuartoConfig: Full configuration struct

Example (with multiple sections)

config = QuartoConfig(
    module_name = MyPackage,
    repo = "user/MyPackage.jl",
    reference = [
        ReferenceGroup(title="Core", contents=[:main_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)
)
quarto_build_site(config)