mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-14 14:59:43 +00:00
Update cheatsheets
This commit is contained in:
@@ -14,7 +14,7 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Build and serve a site on a specified port number:
|
||||
|
||||
`hugo server --port {{port_number}}`
|
||||
`hugo server {{[-p|--port]}} {{port_number}}`
|
||||
|
||||
- Build and serve a site while minifying supported output formats (HTML, XML, etc.):
|
||||
|
||||
@@ -22,8 +22,8 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Build and serve a site in the production environment with full re-renders while minifying supported formats:
|
||||
|
||||
`hugo server --environment {{production}} --disableFastRender --minify`
|
||||
`hugo server {{[-e|--environment]}} {{production}} --disableFastRender --minify`
|
||||
|
||||
- Display help:
|
||||
|
||||
`hugo server --help`
|
||||
`hugo server {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user