godochtml

command
v0.0.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Command godochtml generates package documentation as HTML.

The output is very close to (but not exactly same as) godoc. The generated HTML is simple static HTML but includes syntax highlighting.

Usage: godochtml [options] "package or package directory"

  -src fileregexp=url -- use this to make types and functions
links.

Example:

godochtml \
  -src 'github.com/([^/]*)/([^/]*)(.*)=https://github.com/$1/$2/blob/master$3' \
  github.com/tvastar/gotools/cmd/godochtml

The generated HTML is written to console.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL