From f635f3d34b52b95832269531c4c5ddb485d79e65 Mon Sep 17 00:00:00 2001 From: chrisfinazzo Date: Sun, 22 Mar 2015 15:22:27 -0400 Subject: [PATCH] Fix a typo, wrap lines --- site/_docs/upgrading.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/site/_docs/upgrading.md b/site/_docs/upgrading.md index 0736d879..9601576f 100644 --- a/site/_docs/upgrading.md +++ b/site/_docs/upgrading.md @@ -24,14 +24,15 @@ $ gem update jekyll For better clarity, Jekyll now accepts the commands `build` and `serve`. Whereas before you might simply run the command `jekyll` to generate a site -and `jekyll --server` to view it locally, in v2.0 (and later) you should use the subcommands `jekyll build` +and `jekyll --server` to view it locally, in v2.0 (and later) you should use +the subcommands `jekyll build` and `jekyll serve` to build and preview your site.
Watching and Serving

With the new subcommands, the way sites are previewed locally changed a bit. Instead of specifying `server: true` in the site's - configuration file, use `jekyll serve`. The same hold's true for + configuration file, use `jekyll serve`. The same holds true for `watch: true`. Instead, use the `--watch` flag with either `jekyll serve` or `jekyll build`.

@@ -43,8 +44,10 @@ subdirectories. Starting with v2.0, absolute permalinks are opt-out, meaning Jekyll will default to using absolute permalinks instead of relative permalinks. -* To use absolute permalinks, set `relative_permalinks: false` in your configuration file. -* To continue using relative permalinks, set `relative_permalinks: true` in your configuration file. +* To use absolute permalinks, set `relative_permalinks: false` in +your configuration file. +* To continue using relative permalinks, set `relative_permalinks: true` in +your configuration file.