docs

command
v0.18.5 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: MIT Imports: 4 Imported by: 0

README

Autogenerated usage docs

This command is used to generate a markdown document that documents woke's usage. It is currently used in conjunction with the GitHub action that auto-deploys the mkdocs documentation page.

See docs/README.md

This command will run automatically if cmd/**/*.go changes. If the output of this command changes docs/snippets/woke.md, the change will be pushed to the main branch, which will trigger an mkdocs deploy. See .github/workflows/update-woke-usage.yml for details.

You would only need to run this command if you change some CLI option for woke and want to view the change locally when running the docs site

Running

# running from root of repo
go run cmd/docs/main.go <output_dir>

# this command will create a file `docs/snippets/woke.md`
go run cmd/docs/main.go docs/snippets

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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