github.com/shohhei1126/hugo@v0.42.2-0.20180623210752-3d5928889ad7/docs/content/en/commands/hugo.md (about)

     1  ---
     2  date: 2018-04-16
     3  title: "hugo"
     4  slug: hugo
     5  url: /commands/hugo/
     6  ---
     7  ## hugo
     8  
     9  hugo builds your site
    10  
    11  ### Synopsis
    12  
    13  hugo is the main command, used to build your Hugo site.
    14  
    15  Hugo is a Fast and Flexible Static Site Generator
    16  built with love by spf13 and friends in Go.
    17  
    18  Complete documentation is available at http://gohugo.io/.
    19  
    20  ```
    21  hugo [flags]
    22  ```
    23  
    24  ### Options
    25  
    26  ```
    27    -b, --baseURL string             hostname (and path) to the root, e.g. http://spf13.com/
    28    -D, --buildDrafts                include content marked as draft
    29    -E, --buildExpired               include expired content
    30    -F, --buildFuture                include content with publishdate in the future
    31        --cacheDir string            filesystem path to cache directory. Defaults: $TMPDIR/hugo_cache/
    32        --canonifyURLs               (deprecated) if true, all relative URLs will be canonicalized using baseURL
    33        --cleanDestinationDir        remove files from destination not found in static directories
    34        --config string              config file (default is path/config.yaml|json|toml)
    35    -c, --contentDir string          filesystem path to content directory
    36        --debug                      debug output
    37    -d, --destination string         filesystem path to write files to
    38        --disableKinds stringSlice   disable different kind of pages (home, RSS etc.)
    39        --enableGitInfo              add Git revision, date and author info to the pages
    40        --forceSyncStatic            copy all files when static is changed.
    41        --gc                         enable to run some cleanup tasks (remove unused cache files) after the build
    42    -h, --help                       help for hugo
    43        --i18n-warnings              print missing translations
    44        --ignoreCache                ignores the cache directory
    45    -l, --layoutDir string           filesystem path to layout directory
    46        --log                        enable Logging
    47        --logFile string             log File path (if set, logging enabled automatically)
    48        --noChmod                    don't sync permission mode of files
    49        --noTimes                    don't sync modification time of files
    50        --pluralizeListTitles        (deprecated) pluralize titles in lists using inflect (default true)
    51        --preserveTaxonomyNames      (deprecated) preserve taxonomy names as written ("GĂ©rard Depardieu" vs "gerard-depardieu")
    52        --quiet                      build in quiet mode
    53        --renderToMemory             render to memory (only useful for benchmark testing)
    54    -s, --source string              filesystem path to read files relative from
    55        --stepAnalysis               display memory and timing of different steps of the program
    56        --templateMetrics            display metrics about template executions
    57        --templateMetricsHints       calculate some improvement hints when combined with --templateMetrics
    58    -t, --theme string               theme to use (located in /themes/THEMENAME/)
    59        --themesDir string           filesystem path to themes directory
    60        --uglyURLs                   (deprecated) if true, use /filename.html instead of /filename/
    61    -v, --verbose                    verbose output
    62        --verboseLog                 verbose logging
    63    -w, --watch                      watch filesystem for changes and recreate as needed
    64  ```
    65  
    66  ### SEE ALSO
    67  
    68  * [hugo benchmark](/commands/hugo_benchmark/)	 - Benchmark Hugo by building a site a number of times.
    69  * [hugo check](/commands/hugo_check/)	 - Contains some verification checks
    70  * [hugo config](/commands/hugo_config/)	 - Print the site configuration
    71  * [hugo convert](/commands/hugo_convert/)	 - Convert your content to different formats
    72  * [hugo env](/commands/hugo_env/)	 - Print Hugo version and environment info
    73  * [hugo gen](/commands/hugo_gen/)	 - A collection of several useful generators.
    74  * [hugo import](/commands/hugo_import/)	 - Import your site from others.
    75  * [hugo list](/commands/hugo_list/)	 - Listing out various types of content
    76  * [hugo new](/commands/hugo_new/)	 - Create new content for your site
    77  * [hugo server](/commands/hugo_server/)	 - A high performance webserver
    78  * [hugo version](/commands/hugo_version/)	 - Print the version number of Hugo
    79  
    80  ###### Auto generated by spf13/cobra on 16-Apr-2018