Skip to content

Commit 5543bba

Browse files
committed
docs: remove addon-docs from dummy app router
1 parent 049b095 commit 5543bba

File tree

1 file changed

+3
-59
lines changed

1 file changed

+3
-59
lines changed

tests/dummy/app/router.js

Lines changed: 3 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,11 @@
1-
import AddonDocsRouter, { docsRoute } from 'ember-cli-addon-docs/router';
1+
import EmberRouter from '@ember/routing/router';
22
import config from './config/environment';
33

4-
const Router = AddonDocsRouter.extend({
4+
const Router = EmberRouter.extend({
55
location: config.locationType,
66
rootURL: config.rootURL,
77
});
88

9-
Router.map(function() {
10-
docsRoute(this, function() {
11-
this.route('getting-started', function() {
12-
this.route('installation');
13-
this.route('configuration');
14-
});
15-
16-
this.route('ts', function() {
17-
this.route('overview');
18-
this.route('decorators');
19-
this.route('with-addons');
20-
this.route('using-ts-effectively');
21-
this.route('current-limitations');
22-
});
23-
24-
this.route('ember', function() {
25-
this.route('overview');
26-
this.route('components');
27-
this.route('services');
28-
this.route('testing');
29-
this.route('routes');
30-
this.route('controllers');
31-
this.route('helpers');
32-
this.route('apps-and-addons');
33-
});
34-
35-
this.route('ember-data', function() {
36-
this.route('overview');
37-
this.route('models');
38-
// this.route('adapters');
39-
// this.route('serializers');
40-
// this.route('transforms');
41-
});
42-
43-
this.route('legacy', function() {
44-
this.route('overview');
45-
this.route('ember-object');
46-
this.route('computed-properties');
47-
this.route('mixins');
48-
// this.route('ember-component');
49-
});
50-
51-
this.route('cookbook', function() {
52-
this.route('overview');
53-
this.route('working-with-route-models');
54-
});
55-
56-
this.route('upgrade-notes');
57-
58-
this.route('troubleshooting', function() {
59-
this.route('conflicting-types');
60-
});
61-
this.route('type-defs', function () {
62-
this.route('package-names');
63-
});
64-
});
65-
});
9+
Router.map(function() {});
6610

6711
export default Router;

0 commit comments

Comments
 (0)