summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-05 11:54:57 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2023-06-05 11:54:57 +0200
commit6c955cc3df322b084f6f6e96a6b1f950b7ed1548 (patch)
tree1f9fa052bb63f866026120f926ebc6938750f905
parent5446900dee3050f3a45382fad5650a8bf5f5c530 (diff)
docs: Regenerate CLI docs
-rw-r--r--docs/content/en/commands/hugo_server.md8
-rw-r--r--docs/content/en/commands/hugo_server_trust.md43
2 files changed, 48 insertions, 3 deletions
diff --git a/docs/content/en/commands/hugo_server.md b/docs/content/en/commands/hugo_server.md
index 27e12deb9..d328ee685 100644
--- a/docs/content/en/commands/hugo_server.md
+++ b/docs/content/en/commands/hugo_server.md
@@ -11,8 +11,6 @@ A high performance webserver
Hugo provides its own webserver which builds and serves the site.
While hugo server is high performance, it is a webserver with limited options.
-Many run it in production, but the standard behavior is for people to use it
-in development and use a more full featured server such as Nginx or Caddy.
'hugo server' will avoid writing the rendered and served content to disk,
preferring to store it in memory.
@@ -23,7 +21,7 @@ and push the latest content to them. As most Hugo sites are built in a fraction
of a second, you will be able to save and see your changes nearly instantly.
```
-hugo server [flags] [args]
+hugo server [command] [flags]
```
### Options
@@ -69,6 +67,9 @@ hugo server [flags] [args]
--templateMetrics display metrics about template executions
--templateMetricsHints calculate some improvement hints when combined with --templateMetrics
-t, --theme strings themes to use (located in /themes/THEMENAME/)
+ --tlsAuto generate and use locally-trusted certificates.
+ --tlsCertFile string path to TLS certificate file
+ --tlsKeyFile string path to TLS key file
--trace file write trace to file (not useful in general)
-w, --watch watch filesystem for changes and recreate as needed (default true)
```
@@ -95,4 +96,5 @@ hugo server [flags] [args]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site
+* [hugo server trust](/commands/hugo_server_trust/) - Install the local CA in the system trust store.
diff --git a/docs/content/en/commands/hugo_server_trust.md b/docs/content/en/commands/hugo_server_trust.md
new file mode 100644
index 000000000..0217f0d6c
--- /dev/null
+++ b/docs/content/en/commands/hugo_server_trust.md
@@ -0,0 +1,43 @@
+---
+title: "hugo server trust"
+slug: hugo_server_trust
+url: /commands/hugo_server_trust/
+---
+## hugo server trust
+
+Install the local CA in the system trust store.
+
+```
+hugo server trust [flags] [args]
+```
+
+### Options
+
+```
+ -h, --help help for trust
+ --uninstall Uninstall the local CA (but do not delete it).
+```
+
+### Options inherited from parent commands
+
+```
+ --clock string set the clock used by Hugo, e.g. --clock 2021-11-06T22:30:00.00+09:00
+ --config string config file (default is hugo.yaml|json|toml)
+ --configDir string config dir (default "config")
+ --debug debug output
+ -d, --destination string filesystem path to write files to
+ -e, --environment string build environment
+ --ignoreVendorPaths string ignores any _vendor for module paths matching the given Glob pattern
+ --log enable Logging
+ --logFile string log File path (if set, logging enabled automatically)
+ --quiet build in quiet mode
+ -s, --source string filesystem path to read files relative from
+ --themesDir string filesystem path to themes directory
+ -v, --verbose verbose output
+ --verboseLog verbose logging
+```
+
+### SEE ALSO
+
+* [hugo server](/commands/hugo_server/) - A high performance webserver
+