2023-01-04 17:24:36 +00:00
|
|
|
# Test the gen commands.
|
|
|
|
|
|
|
|
hugo gen -h
|
2024-10-14 02:10:38 +00:00
|
|
|
stdout 'Generate documentation for your project using Hugo''s documentation engine, including syntax highlighting for various programming languages\.'
|
2023-01-04 17:24:36 +00:00
|
|
|
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
|
2024-03-14 10:04:41 +00:00
|
|
|
stdout '/\* LineHighlight \*/ \.chroma \.hl \{ background-color:#3c3d38 \}'
|