Skip to content

Commit 0be4082

Browse files
committed
Fix the missing redirects to the migration guide
1 parent 108fbca commit 0be4082

File tree

5 files changed

+14
-2
lines changed

5 files changed

+14
-2
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ gem "jekyll", "~> 3.7"
44
gem 'jekyll-sitemap'
55
gem 'jekyll-toc'
66
gem 'html-proofer'
7+
gem 'jekyll-redirect-from'

Gemfile.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ DEPENDENCIES
344344
github-pages
345345
html-proofer
346346
jekyll (~> 3.7)
347+
jekyll-redirect-from
347348
jekyll-sitemap
348349
jekyll-toc
349350

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ deploy: check-dependencies
2626
git push
2727

2828
livereload:
29-
bundle exec jekyll serve --trace --livereload --host localhost --incremental
29+
bundle exec jekyll serve --trace --livereload --host localhost --incremental --safe
3030

31-
# only for checking out the final build
31+
# only for checking out the final build and/or validating links (also works with livereload)
3232
# # only for checking out the final build
3333
build:
3434
bundle exec jekyll build

docs/_config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ plugins:
1818
- jekyll-redirect-from
1919
- jekyll-sitemap
2020
- jekyll-toc
21+
22+
# used with the --safe flag to mimic Github Pages
23+
whitelist:
24+
- jekyll-redirect-from
2125
keep_files:
2226
- assets
2327
- releases

docs/guides/migration-guide.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
layout: page
33
title: Migrating between versions
44
breadcrumb: migrating
5+
redirect_from:
6+
- /guides/migrating-to-2.0/
7+
- /guides/migrating-to-3.0/
8+
- /guides/migrating-to-4.0/
9+
- /guides/migrating-to-5.0/
10+
- /guides/migrating-to-6.0/
511
---
612

713
## Sinon 19

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy