tree: 2d37b22caeedddb89a527bc54a71e3a3364decf6 [path history] [tgz]
  1. .gitignore
  3. go.mod
  4. go.sum
  5. godocfx_test.go
  6. main.go
  7. parse.go
  8. testdata/

Go DocFX YAML Generator

This tool generates DocFX YAML for Go modules.

Only a single module will be processed at once.

By default, the output files are stored at ./obj/api. You can convert them to HTML using doc-templates and/or doc-pipeline.

Example usage:

cd module && godocfx ./...
godocfx -print
godocfx -out custom/output/dir
godocfx -rm custom/output/dir


You can run the tests with go test.

If you need to update the golden files, add the -update-goldens flag:

go test -v -update-goldens