From 460d4d522d728379cfaf29f846325dcad36d594c Mon Sep 17 00:00:00 2001 From: Dmitry Shirokov Date: Thu, 1 Sep 2016 14:27:58 +1000 Subject: [PATCH] Fix redirect from /docs, update README.md --- README.md | 10 ++++++---- _config.yml | 3 +++ _redirects | 4 ---- docs/index.html | 4 ++++ 4 files changed, 13 insertions(+), 8 deletions(-) delete mode 100644 _redirects create mode 100644 docs/index.html diff --git a/README.md b/README.md index a112d2e7..01f8b570 100644 --- a/README.md +++ b/README.md @@ -6,14 +6,16 @@ The Lodash website. 1. Clone the repository locally. -2. Install the `github-pages` gem. +2. Install the application gems: + ```shell - $ gem install github-pages + $ bundle install ``` -3. Build & run from the repository’s directory. +3. Build & run from the repository’s directory: + ```shell - $ jekyll serve + $ jekyll serve --incremental ``` ## Incrementing the Lodash Version diff --git a/_config.yml b/_config.yml index 6666a26a..ede96f83 100644 --- a/_config.yml +++ b/_config.yml @@ -33,3 +33,6 @@ compress_html: exclude: - LICENSE - "*.md" + +gems: + - jekyll-redirect-from diff --git a/_redirects b/_redirects deleted file mode 100644 index 77c50712..00000000 --- a/_redirects +++ /dev/null @@ -1,4 +0,0 @@ ---- ---- - -/docs /docs/{{ site.release }} diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000..1236fde2 --- /dev/null +++ b/docs/index.html @@ -0,0 +1,4 @@ +--- +redirect_to: + - /docs/{{ site.release }} +---