docs: Regenerate CLI docs

This commit is contained in:
Andreas Deininger 2023-07-05 23:14:36 +02:00 committed by Bjørn Erik Pedersen
parent 6ff93d4788
commit c1538bd004
8 changed files with 17 additions and 35 deletions

View File

@ -13,10 +13,6 @@ Convert your content (e.g. front matter) to different formats.
See convert's subcommands toJSON, toTOML and toYAML for more information.
```
hugo convert [command] [flags]
```
### Options
```

View File

@ -7,10 +7,6 @@ url: /commands/hugo_gen/
A collection of several useful generators.
```
hugo gen [command] [flags]
```
### Options
```

View File

@ -13,10 +13,6 @@ Import your site from other web site generators like Jekyll.
Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_path`.
```
hugo import [command] [flags]
```
### Options
```

View File

@ -13,10 +13,6 @@ Listing out various types of content.
List requires a subcommand, e.g. hugo list drafts
```
hugo list [command] [flags]
```
### Options
```

View File

@ -18,10 +18,6 @@ If archetypes are provided in your theme or site, they will be used.
Ensure you run this within the root directory of your site.
```
hugo new [command] [flags]
```
### Options
```
@ -50,5 +46,5 @@ hugo new [command] [flags]
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo new content](/commands/hugo_new_content/) - Create new content for your site
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme (skeleton)

View File

@ -10,13 +10,13 @@ Create new content for your site
### Synopsis
Create a new content file and automatically set the date and title.
It will guess which kind of file to create based on the path provided.
It will guess which kind of file to create based on the path provided.
You can also specify the kind with `-k KIND`.
You can also specify the kind with `-k KIND`.
If archetypes are provided in your theme or site, they will be used.
If archetypes are provided in your theme or site, they will be used.
Ensure you run this within the root directory of your site.
Ensure you run this within the root directory of your site.
```
hugo new content [path] [flags]

View File

@ -21,6 +21,7 @@ hugo new site [path] [flags]
```
-f, --force init inside non-empty directory
--format string preferred file format (toml, yaml or json) (default "toml")
-h, --help help for site
```

View File

@ -5,16 +5,17 @@ url: /commands/hugo_new_theme/
---
## hugo new theme
Create a new site (skeleton)
Create a new theme (skeleton)
### Synopsis
Create a new site in the provided directory.
The new site will have the correct structure, but no content or theme yet.
Use `hugo new [contentPath]` to create new content.
Create a new theme (skeleton) called [name] in ./themes.
New theme is a skeleton. Please add content to the touched files. Add your
name to the copyright line in the license and adjust the theme.toml file
according to your needs.
```
hugo new theme [path] [flags]
hugo new theme [name] [flags]
```
### Options