docs: Regenerate CLI docs

Fixes #5779
This commit is contained in:
Bjørn Erik Pedersen
2019-03-26 18:46:01 +01:00
parent 876e5f67b1
commit bb533ca5e1
25 changed files with 57 additions and 56 deletions

View File

@@ -1,5 +1,5 @@
---
date: 2019-01-30
date: 2019-03-26
title: "hugo server"
slug: hugo_server
url: /commands/hugo_server/
@@ -60,14 +60,15 @@ hugo server [flags]
--noChmod don't sync permission mode of files
--noHTTPCache prevent HTTP caching
--noTimes don't sync modification time of files
--path-warnings print warnings on duplicate target paths etc.
-p, --port int port on which the server will listen (default 1313)
--renderToDisk render to Destination path (default is render to memory & serve from there)
-s, --source string filesystem path to read files relative from
--stepAnalysis display memory and timing of different steps of the program
--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/)
--themesDir string filesystem path to themes directory
--trace file write trace to file (not useful in general)
-w, --watch watch filesystem for changes and recreate as needed (default true)
```
@@ -88,4 +89,4 @@ hugo server [flags]
* [hugo](/commands/hugo/) - hugo builds your site
###### Auto generated by spf13/cobra on 30-Jan-2019
###### Auto generated by spf13/cobra on 26-Mar-2019