aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts/commands/gen.txt
blob: 092b4e129208361ff759fb9a8667c4cb98c0e6a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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 \}'