mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 14:17:43 +00:00
Regen CLI docs
This commit is contained in:
3 files changed
+8
-3
No files matched your search
@@ -21,7 +21,7 @@ hugo gen chromastyles [flags] [args]
|
|||||||
|
|
||||||
```
|
```
|
||||||
-h, --help help for chromastyles
|
-h, --help help for chromastyles
|
||||||
--highlightStyle string style used for highlighting lines (see https://github.com/alecthomas/chroma) (default "bg:#ffffcc")
|
--highlightStyle string style used for highlighting lines (see https://github.com/alecthomas/chroma)
|
||||||
--linesStyle string style used for line numbers (see https://github.com/alecthomas/chroma)
|
--linesStyle string style used for line numbers (see https://github.com/alecthomas/chroma)
|
||||||
--style string highlighter style (see https://xyproto.github.io/splash/docs/) (default "friendly")
|
--style string highlighter style (see https://xyproto.github.io/splash/docs/) (default "friendly")
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ Generate Markdown documentation for the Hugo CLI.
|
|||||||
Generate Markdown documentation for the Hugo CLI.
|
Generate Markdown documentation for the Hugo CLI.
|
||||||
This command is, mostly, used to create up-to-date documentation
|
This command is, mostly, used to create up-to-date documentation
|
||||||
of Hugo's command-line interface for https://gohugo.io/.
|
of Hugo's command-line interface for https://gohugo.io/.
|
||||||
|
|
||||||
It creates one Markdown file per command with front matter suitable
|
It creates one Markdown file per command with front matter suitable
|
||||||
for rendering in Hugo.
|
for rendering in Hugo.
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,12 @@ Install a specific version:
|
|||||||
|
|
||||||
hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
|
hugo mod get github.com/gohugoio/testshortcodes@v0.3.0
|
||||||
|
|
||||||
Install the latest versions of all module dependencies:
|
Install the latest versions of all direct module dependencies:
|
||||||
|
|
||||||
|
hugo mod get
|
||||||
|
hugo mod get ./... (recursive)
|
||||||
|
|
||||||
|
Install the latest versions of all module dependencies (direct and indirect):
|
||||||
|
|
||||||
hugo mod get -u
|
hugo mod get -u
|
||||||
hugo mod get -u ./... (recursive)
|
hugo mod get -u ./... (recursive)
|
||||||
|
|||||||
Reference in new issue
Block a user