Skip to content

Commit

Permalink
Use an include for migration guides
Browse files Browse the repository at this point in the history
This means that we can just maintain that list in one place, and it will
 be used across all releases
  • Loading branch information
mroderick committed Sep 30, 2017
1 parent 3c68adc commit 28e70d1
Show file tree
Hide file tree
Showing 22 changed files with 26 additions and 64 deletions.
5 changes: 5 additions & 0 deletions docs/_includes/docs/migration-guides.md
@@ -0,0 +1,5 @@
### Migration guides

* Migrating from [v1.x to v2.0](/guides/migrating-to-2.0)
* Migrating from [v2.x to v3.0](/guides/migrating-to-3.0)
* Migrating from [v3.x to v4.0](/guides/migrating-to-4.0)
4 changes: 1 addition & 3 deletions docs/_releases/v2.0.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.1.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.2.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.1.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.2.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.3.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.4.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.5.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.6.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.7.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.3.8.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.4.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v2.4.1.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migrating from v1.x to v2.0

Please see our [migration guide](./migrating-to-2.0) for details on migrating to Sinon.JS v2.0
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v3.0.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v3.1.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v3.2.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v3.2.1.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v3.3.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
4 changes: 1 addition & 3 deletions docs/_releases/v4.0.0.md
Expand Up @@ -19,9 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down
5 changes: 1 addition & 4 deletions docs/release-source/release.md
Expand Up @@ -19,10 +19,7 @@ This page contains the entire Sinon.JS API documentation along with brief int
* [Sandboxes](./sandbox)
* [Utils](./utils)

### Migration guides
* Migrating from [v1.x to v2.0](./migrating-to-2.0)
* Migrating from [v2.x to v3.0](./migrating-to-3.0)
* Migrating from [v3.x to v4.0](./migrating-to-4.0)
{% include docs/migration-guides.md %}

### Compatibility

Expand Down

0 comments on commit 28e70d1

Please sign in to comment.