Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.38 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.38 KB

docgen

Go Report Card

Auto-generate routing documentation in JSON, Markdown, or Markup (HTML) for a chi Router from your app source.

fork info

In Process

  • Building HTML generation with optional web server
    • Templates built, passing tests
    • HTML Generator is being built, not yet functional (3/18/2018)
      • 85% complete
      • 15% remaining: String building for routes, middleware, handlers & related tests
    • Web Server - code written, need to bring into prj
    • Configuration obj

Check markup.go & markupTemplates.go for new code, started from a copy of markdown.go.

Build uses godep for vendoring. Install with:

$> go get -u github.com/tools/godep

To Install:

$> go get -u github.com/forrest321/docgen

To Build:

$>godep go build

To Test:

$>godep go test

To Use:

See an example use of the Markdown Generator

Example Screenshot