Skip to content

Commit

Permalink
docs: Regenerate CLI docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bep committed Sep 22, 2022
1 parent 0171fb2 commit 4f9cb4f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/commands/hugo_completion_bash.md
Expand Up @@ -26,7 +26,7 @@ To load completions for every new session, execute once:

#### macOS:

hugo completion bash > /usr/local/etc/bash_completion.d/hugo
hugo completion bash > $(brew --prefix)/etc/bash_completion.d/hugo

You will need to start a new shell for this setup to take effect.

Expand Down
6 changes: 5 additions & 1 deletion docs/content/en/commands/hugo_completion_zsh.md
Expand Up @@ -16,6 +16,10 @@ to enable it. You can execute the following once:

echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

source <(hugo completion zsh); compdef _hugo hugo

To load completions for every new session, execute once:

#### Linux:
Expand All @@ -24,7 +28,7 @@ To load completions for every new session, execute once:

#### macOS:

hugo completion zsh > /usr/local/share/zsh/site-functions/_hugo
hugo completion zsh > $(brew --prefix)/share/zsh/site-functions/_hugo

You will need to start a new shell for this setup to take effect.

Expand Down
1 change: 1 addition & 0 deletions docs/content/en/commands/hugo_new.md
Expand Up @@ -36,6 +36,7 @@ hugo new [path] [flags]
--disableKinds strings disable different kind of pages (home, RSS etc.)
--editor string edit new content with this editor, if provided
--enableGitInfo add Git revision, date, author, and CODEOWNERS info to the pages
-f, --force overwrite file if it already exists
--forceSyncStatic copy all files when static is changed.
--gc enable to run some cleanup tasks (remove unused cache files) after the build
-h, --help help for new
Expand Down

0 comments on commit 4f9cb4f

Please sign in to comment.