Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-docgen

Documentation publishing for Pudu: articles, API references, navigation, search, and static websites

0.1.0Apache-2.01

InstallClose

Docset.md

Markdown21 lines567 B

GitHub ↗

uid: PuduLangDocgen.Docset.build example: *content


Build the project in website with the default options and print its diagnostics:

match Docset.build("website/docgen.json", &Docset.options(), &Build.extensions()) {
  case Ok(report) => {
    for problem in report.diagnostics { let _said = Io.writeLine(Docgen.describe(&problem)) }
    0
  }
  case Err(problems) => {
    for problem in problems { let _said = Io.writeErrorLine(Docgen.describe(&problem)) }
    1
  }
}

See <xref:guides.library?text=Library+usage> for options and extensions.