Skip to content

Commit

Permalink
Squashed 'docs/' changes from 20959c7b..36d7e22f
Browse files Browse the repository at this point in the history
36d7e22f Document fmt.{print, println} template functions
79a72fce Fix link to page variables
00342ca9 Fix broken link on highlight page
15f44952 Fix link in v0.28 release notes
0100df73 Fix code examples for math.{Ceil, Floor, Round}
a354a69b Fix broken netlify.toml
4995e5df Merge branch 'master' of github.com:gohugoio/hugoDocs
9cdd990a Hugo 0.29
463558f9 Document math.Log template function
588499af Add nohup.out to .gitignore
db8ddcf7 Change name of post files in example to use post prefix
296ec01f Add ox-hugo Emacs package to the tools section
f060d6d1 Fix math.Ceil, Floor, and Round naming
a2262d24 Document strings.TrimPrefix and TrimSuffix template functions
80c1ce63 Document strings.TrimLeft and TrimRight template functions
2921088d Document urls.Parse template function
f0133079 Document math.{ceil, floor, round} template functions
82863808 Fix typo in migration tools section
d5215d61 Add link to syntax hl docs in release notes
541f0686 Update versions
275ce2b4 Update 0.28 release notes
886713a1 Add release notes for 0.28
bed02e5f Merge branch 'next'
8e3b1ac4 Add a note about branches
1662b9d0 Add missing Disqus links in templates/internal.md

git-subtree-dir: docs
git-subtree-split: 36d7e22f5c21c550bd87782d2ddca666178fe1ff
  • Loading branch information
bep committed Sep 28, 2017
1 parent 61c27b5 commit 9d68f69
Show file tree
Hide file tree
Showing 48 changed files with 389 additions and 81 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/.idea
/public
nohup.out
2 changes: 1 addition & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ twitter = "GoHugoIO"
[params]
description = "The world’s fastest framework for building websites"
## Used for views in rendered HTML (i.e., rather than using the .Hugo variable)
release = "0.27.1"
release = "0.29"
## Setting this to true will add a "noindex" to *EVERY* page on the site
removefromexternalsearch = false
## Gh repo for site footer (include trailing slash)
Expand Down
5 changes: 3 additions & 2 deletions content/commands/hugo.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo"
slug: hugo
url: /commands/hugo/
Expand Down Expand Up @@ -56,6 +56,7 @@ hugo [flags]
--renderToMemory render to memory (only useful for benchmark testing)
-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
-t, --theme string theme to use (located in /themes/THEMENAME/)
--themesDir string filesystem path to themes directory
--uglyURLs if true, use /filename.html instead of /filename/
Expand All @@ -78,4 +79,4 @@ hugo [flags]
* [hugo undraft](/commands/hugo_undraft/) - Undraft resets the content's draft status
* [hugo version](/commands/hugo_version/) - Print the version number of Hugo

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
5 changes: 3 additions & 2 deletions content/commands/hugo_benchmark.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo benchmark"
slug: hugo_benchmark
url: /commands/hugo_benchmark/
Expand Down Expand Up @@ -50,6 +50,7 @@ hugo benchmark [flags]
--renderToMemory render to memory (only useful for benchmark testing)
-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
-t, --theme string theme to use (located in /themes/THEMENAME/)
--themesDir string filesystem path to themes directory
--uglyURLs if true, use /filename.html instead of /filename/
Expand All @@ -70,4 +71,4 @@ hugo benchmark [flags]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_check.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo check"
slug: hugo_check
url: /commands/hugo_check/
Expand Down Expand Up @@ -35,4 +35,4 @@ Contains some verification checks
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo check ulimit](/commands/hugo_check_ulimit/) - Check system ulimit settings

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_check_ulimit.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo check ulimit"
slug: hugo_check_ulimit
url: /commands/hugo_check_ulimit/
Expand Down Expand Up @@ -39,4 +39,4 @@ hugo check ulimit [flags]
### SEE ALSO
* [hugo check](/commands/hugo_check/) - Contains some verification checks

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_config.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo config"
slug: hugo_config
url: /commands/hugo_config/
Expand Down Expand Up @@ -38,4 +38,4 @@ hugo config [flags]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_convert.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo convert"
slug: hugo_convert
url: /commands/hugo_convert/
Expand Down Expand Up @@ -42,4 +42,4 @@ See convert's subcommands toJSON, toTOML and toYAML for more information.
* [hugo convert toTOML](/commands/hugo_convert_totoml/) - Convert front matter to TOML
* [hugo convert toYAML](/commands/hugo_convert_toyaml/) - Convert front matter to YAML

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_convert_toJSON.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo convert toJSON"
slug: hugo_convert_toJSON
url: /commands/hugo_convert_tojson/
Expand Down Expand Up @@ -42,4 +42,4 @@ hugo convert toJSON [flags]
### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_convert_toTOML.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo convert toTOML"
slug: hugo_convert_toTOML
url: /commands/hugo_convert_totoml/
Expand Down Expand Up @@ -42,4 +42,4 @@ hugo convert toTOML [flags]
### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_convert_toYAML.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo convert toYAML"
slug: hugo_convert_toYAML
url: /commands/hugo_convert_toyaml/
Expand Down Expand Up @@ -42,4 +42,4 @@ hugo convert toYAML [flags]
### SEE ALSO
* [hugo convert](/commands/hugo_convert/) - Convert your content to different formats

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_env.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo env"
slug: hugo_env
url: /commands/hugo_env/
Expand Down Expand Up @@ -38,4 +38,4 @@ hugo env [flags]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_gen.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo gen"
slug: hugo_gen
url: /commands/hugo_gen/
Expand Down Expand Up @@ -38,4 +38,4 @@ A collection of several useful generators.
* [hugo gen doc](/commands/hugo_gen_doc/) - Generate Markdown documentation for the Hugo CLI.
* [hugo gen man](/commands/hugo_gen_man/) - Generate man pages for the Hugo CLI

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_gen_autocomplete.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo gen autocomplete"
slug: hugo_gen_autocomplete
url: /commands/hugo_gen_autocomplete/
Expand Down Expand Up @@ -56,4 +56,4 @@ hugo gen autocomplete [flags]
### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_gen_chromastyles.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo gen chromastyles"
slug: hugo_gen_chromastyles
url: /commands/hugo_gen_chromastyles/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo gen chromastyles [flags]
### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_gen_doc.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo gen doc"
slug: hugo_gen_doc
url: /commands/hugo_gen_doc/
Expand Down Expand Up @@ -45,4 +45,4 @@ hugo gen doc [flags]
### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_gen_man.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo gen man"
slug: hugo_gen_man
url: /commands/hugo_gen_man/
Expand Down Expand Up @@ -41,4 +41,4 @@ hugo gen man [flags]
### SEE ALSO
* [hugo gen](/commands/hugo_gen/) - A collection of several useful generators.

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_import.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo import"
slug: hugo_import
url: /commands/hugo_import/
Expand Down Expand Up @@ -37,4 +37,4 @@ Import requires a subcommand, e.g. `hugo import jekyll jekyll_root_path target_p
* [hugo](/commands/hugo/) - hugo builds your site
* [hugo import jekyll](/commands/hugo_import_jekyll/) - hugo import from Jekyll

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_import_jekyll.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo import jekyll"
slug: hugo_import_jekyll
url: /commands/hugo_import_jekyll/
Expand Down Expand Up @@ -41,4 +41,4 @@ hugo import jekyll [flags]
### SEE ALSO
* [hugo import](/commands/hugo_import/) - Import your site from others.

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_list.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo list"
slug: hugo_list
url: /commands/hugo_list/
Expand Down Expand Up @@ -40,4 +40,4 @@ List requires a subcommand, e.g. `hugo list drafts`.
* [hugo list expired](/commands/hugo_list_expired/) - List all posts already expired
* [hugo list future](/commands/hugo_list_future/) - List all posts dated in the future

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_list_drafts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo list drafts"
slug: hugo_list_drafts
url: /commands/hugo_list_drafts/
Expand Down Expand Up @@ -39,4 +39,4 @@ hugo list drafts [flags]
### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_list_expired.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo list expired"
slug: hugo_list_expired
url: /commands/hugo_list_expired/
Expand Down Expand Up @@ -40,4 +40,4 @@ hugo list expired [flags]
### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_list_future.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo list future"
slug: hugo_list_future
url: /commands/hugo_list_future/
Expand Down Expand Up @@ -40,4 +40,4 @@ hugo list future [flags]
### SEE ALSO
* [hugo list](/commands/hugo_list/) - Listing out various types of content

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_new.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo new"
slug: hugo_new
url: /commands/hugo_new/
Expand Down Expand Up @@ -48,4 +48,4 @@ hugo new [path] [flags]
* [hugo new site](/commands/hugo_new_site/) - Create a new site (skeleton)
* [hugo new theme](/commands/hugo_new_theme/) - Create a new theme

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_new_site.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo new site"
slug: hugo_new_site
url: /commands/hugo_new_site/
Expand Down Expand Up @@ -43,4 +43,4 @@ hugo new site [path] [flags]
### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_new_theme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo new theme"
slug: hugo_new_theme
url: /commands/hugo_new_theme/
Expand Down Expand Up @@ -42,4 +42,4 @@ hugo new theme [name] [flags]
### SEE ALSO
* [hugo new](/commands/hugo_new/) - Create new content for your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
7 changes: 4 additions & 3 deletions content/commands/hugo_server.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo server"
slug: hugo_server
url: /commands/hugo_server/
Expand Down Expand Up @@ -58,14 +58,15 @@ hugo server [flags]
--memstats string log memory usage to this file
--navigateToChanged navigate to changed content file on live browser reload
--noChmod don't sync permission mode of files
--noHTTPCache prevent HTTP caching (default true)
--noHTTPCache prevent HTTP caching
--noTimes don't sync modification time of files
--pluralizeListTitles pluralize titles in lists using inflect (default true)
-p, --port int port on which the server will listen (default 1313)
--preserveTaxonomyNames preserve taxonomy names as written ("Gérard Depardieu" vs "gerard-depardieu")
--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
-t, --theme string theme to use (located in /themes/THEMENAME/)
--themesDir string filesystem path to themes directory
--uglyURLs if true, use /filename.html instead of /filename/
Expand All @@ -87,4 +88,4 @@ hugo server [flags]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_undraft.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo undraft"
slug: hugo_undraft
url: /commands/hugo_undraft/
Expand Down Expand Up @@ -40,4 +40,4 @@ hugo undraft path/to/content [flags]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
4 changes: 2 additions & 2 deletions content/commands/hugo_version.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
date: 2017-09-25T08:30:15+02:00
date: 2017-09-26T21:11:49+02:00
title: "hugo version"
slug: hugo_version
url: /commands/hugo_version/
Expand Down Expand Up @@ -38,4 +38,4 @@ hugo version [flags]
### SEE ALSO
* [hugo](/commands/hugo/) - hugo builds your site

###### Auto generated by spf13/cobra on 25-Sep-2017
###### Auto generated by spf13/cobra on 26-Sep-2017
Loading

0 comments on commit 9d68f69

Please sign in to comment.