Skip to content

Commit

Permalink
Use migration guide include in guide index
Browse files Browse the repository at this point in the history
Avoid landing in the situation where we remember to update
one place, but not the other.

Ref sinonjs#1829 (comment)
  • Loading branch information
fatso83 committed Jun 14, 2018
1 parent 05d7990 commit 4ebf9b6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ DEPENDENCIES
minima (~> 2.0)

RUBY VERSION
ruby 2.4.0p0
ruby 2.5.1p57

BUNDLED WITH
1.13.7
1.16.1
2 changes: 2 additions & 0 deletions docs/_includes/docs/migration-guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
* Migrating from [v2.x to v3.0](/guides/migrating-to-3.0)
* Migrating from [v3.x to v4.0](/guides/migrating-to-4.0)
* Migrating from [v4.x to v5.0](/guides/migrating-to-5.0)
* Migrating from [v5.x to v6.0](/guides/migrating-to-6.0)

8 changes: 1 addition & 7 deletions docs/guides/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,4 @@ title: Guides
breadcrumb: guides
---

## Migration guides

* [Migrating to v6.0](./migrating-to-6.0)
* [Migrating to v5.0](./migrating-to-5.0)
* [Migrating to v4.0](./migrating-to-4.0)
* [Migrating to v3.0](./migrating-to-3.0)
* [Migrating to v2.0](./migrating-to-2.0)
{% include docs/migration-guides.md %}

0 comments on commit 4ebf9b6

Please sign in to comment.