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 }} +---