docs: Fix hyphens and grammar in synopsis of command 'hugo server'

This commit is contained in:
Andreas Deininger 2024-02-21 20:18:38 +01:00 committed by Bjørn Erik Pedersen
parent 05e23bd55c
commit ada3fceea8
2 changed files with 6 additions and 6 deletions

View file

@ -512,9 +512,9 @@ func (c *serverCommand) Init(cd *simplecobra.Commandeer) error {
cmd.Long = `Hugo provides its own webserver which builds and serves the site. cmd.Long = `Hugo provides its own webserver which builds and serves the site.
While hugo server is high performance, it is a webserver with limited options. While hugo server is high performance, it is a webserver with limited options.
'hugo server' will by default write and server files from disk, but you can The ` + "`" + `hugo server` + "`" + ` command will by default write and serve files from disk, but
render to memory by using the '--renderToMemory' flag. This can be faster you can render to memory by using the ` + "`" + `--renderToMemory` + "`" + ` flag. This can be
in some cases, but it will consume more memory. faster in some cases, but it will consume more memory.
By default hugo will also watch your files for any changes you make and By default hugo will also watch your files for any changes you make and
automatically rebuild the site. It will then live reload any open browser pages automatically rebuild the site. It will then live reload any open browser pages

View file

@ -12,9 +12,9 @@ A high performance webserver
Hugo provides its own webserver which builds and serves the site. Hugo provides its own webserver which builds and serves the site.
While hugo server is high performance, it is a webserver with limited options. While hugo server is high performance, it is a webserver with limited options.
'hugo server' will by default write and server files from disk, but you can The `hugo server` command will by default write and serve files from disk, but
render to memory by using the '--renderToMemory' flag. This can be faster you can render to memory by using the `--renderToMemory` flag. This can be
in some cases, but it will consume more memory. faster in some cases, but it will consume more memory.
By default hugo will also watch your files for any changes you make and By default hugo will also watch your files for any changes you make and
automatically rebuild the site. It will then live reload any open browser pages automatically rebuild the site. It will then live reload any open browser pages