diff --git a/docs/app/router.ts b/docs/app/router.ts index 6f46f079..e31f0cba 100644 --- a/docs/app/router.ts +++ b/docs/app/router.ts @@ -33,6 +33,7 @@ Router.map(function () { // Other this.route('test-helpers'); this.route('api-reference'); + this.route('migrate-8-0-to-9-0'); }); this.route('cookbook', function () { diff --git a/docs/app/routes/public-pages/docs/migrate-8-0-to-9-0.ts b/docs/app/routes/public-pages/docs/migrate-8-0-to-9-0.ts new file mode 100644 index 00000000..fe2d4d25 --- /dev/null +++ b/docs/app/routes/public-pages/docs/migrate-8-0-to-9-0.ts @@ -0,0 +1,3 @@ +import Route from '@ember/routing/route'; + +export default class PublicPagesDocsMigrate80To90Route extends Route {} diff --git a/docs/app/templates/public-pages/docs.gts b/docs/app/templates/public-pages/docs.gts index fb2e4dbf..b2e0dc4a 100644 --- a/docs/app/templates/public-pages/docs.gts +++ b/docs/app/templates/public-pages/docs.gts @@ -41,6 +41,10 @@ const groupedSections = [ id: 'upgrade', groupName: 'Upgrade', options: [ + { + route: 'public-pages.docs.migrate-8-0-to-9-0', + text: 'Migrate from 8.0 to 9.0', + }, { route: 'public-pages.docs.migrate-7-0-to-8-0', text: 'Migrate from 7.0 to 8.0', diff --git a/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.gts b/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.gts index e2cc73fd..0d06c16c 100644 --- a/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.gts +++ b/docs/app/templates/public-pages/docs/migrate-7-0-to-8-0.gts @@ -39,9 +39,9 @@ import { LinkTo } from '@ember/routing';
< Animations + >< Migrate from 8.0 to 9.0 +

Migrate from 8.0 to 9.0

+ +

Before migrating to 9.x, you should first update to the latest 8.x release, + as most of the breaking changes were introduced in 8.x.

+ +

Breaking changes

+ + + +
+ < Animations + Migrate from 7.0 to 8.0 > +
+ diff --git a/docs/tests/unit/routes/public-pages/docs/migrate-8-0-to-9-0-test.ts b/docs/tests/unit/routes/public-pages/docs/migrate-8-0-to-9-0-test.ts new file mode 100644 index 00000000..45e42428 --- /dev/null +++ b/docs/tests/unit/routes/public-pages/docs/migrate-8-0-to-9-0-test.ts @@ -0,0 +1,13 @@ +import { module, test } from 'qunit'; +import { setupTest } from 'docs/tests/helpers'; + +module('Unit | Route | public-pages/docs/migrate-8-0-to-9-0', function (hooks) { + setupTest(hooks); + + test('it exists', function (assert) { + const route = this.owner.lookup( + 'route:public-pages/docs/migrate-8-0-to-9-0', + ); + assert.ok(route); + }); +});