mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
89bd025ebf
Build tags setup changed to: * !nodeploy => withdeploy * nodeploy => !withdeploy Also move the deploy feature out into its own release archives. See #12994 for the primary motivation for this change. But this also greatly reduces the number of dependencies in Hugo when you don't need this feature and cuts the binary size greatly. Fixes #12994
14 lines
496 B
Text
14 lines
496 B
Text
# Test the gen commands.
|
|
|
|
hugo gen -h
|
|
stdout 'Generate documentation for your project using Hugo''s documentation engine, including syntax highlighting for various programming languages\.'
|
|
hugo gen doc --dir clidocs
|
|
|
|
hugo gen man -h
|
|
stdout 'up-to-date man pages'
|
|
hugo gen man --dir manpages
|
|
|
|
hugo gen chromastyles -h
|
|
stdout 'Generate CSS stylesheet for the Chroma code highlighter'
|
|
hugo gen chromastyles --style monokai
|
|
stdout '/\* LineHighlight \*/ \.chroma \.hl \{ background-color:#3c3d38 \}'
|