main.go 270 B

123456789101112131415
  1. package main
  2. import (
  3. "github.com/qor5/docs/docsrc"
  4. "github.com/theplant/docgo"
  5. )
  6. func main() {
  7. docgo.New().
  8. Assets("/assets/", docsrc.Assets).
  9. MainPageTitle("QOR5 Document").
  10. SitePrefix("/docs/").
  11. DocTree(docsrc.DocTree...).
  12. BuildStaticSite("../docs")
  13. }