File tree Expand file tree Collapse file tree 1 file changed +15
-11
lines changed
tests/dummy/app/pods/docs/quickstart Expand file tree Collapse file tree 1 file changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -45,21 +45,17 @@ and make sure it contains the `DocsViewer` component and navigation items for
45
45
all docs pages in your site.
46
46
47
47
{{#docs-snippet name='quickstart-skeleton.hbs' title='tests/dummy/app/templates/docs.hbs'}}
48
- {{# docs-viewer as |viewer| }}
48
+ {{docs-header }}
49
49
50
+ {{#docs-viewer as |viewer|}}
50
51
{{#viewer.nav as |nav|}}
51
52
{{nav.item 'Introduction' 'docs.index'}}
52
53
{{nav.item 'Usage' 'docs.usage'}}
53
54
{{/viewer.nav}}
54
55
55
56
{{#viewer.main}}
56
- <div class="docs-container">
57
- <div class="docs-section">
58
- {{outlet}}
59
- </div>
60
- </div>
57
+ {{outlet}}
61
58
{{/viewer.main}}
62
-
63
59
{{/docs-viewer}}
64
60
{{/docs-snippet}}
65
61
@@ -111,10 +107,18 @@ create the associated template.
111
107
{{/docs-snippet}}
112
108
113
109
{{#docs-snippet name='quickstart-404.hbs' title='tests/dummy/app/templates/not-found.hbs'}}
114
- <div class =" docs-container " >
115
- <h1 >Not found</h1 >
116
- <p >This page doesn't exist. {{#link-to 'index'}}Head home?{{/link-to}}</p >
117
- </div >
110
+ {{docs-header}}
111
+
112
+ {{#docs-viewer as |viewer|}}
113
+ {{viewer.nav}}
114
+
115
+ {{#viewer.main}}
116
+ <div class="docs-container">
117
+ <h1>Not found</h1>
118
+ <p>This page doesn't exist. {{#link-to 'index'}}Head home?{{/link-to}}</p>
119
+ </div>
120
+ {{/viewer.main}}
121
+ {{/docs-viewer}}
118
122
{{/docs-snippet}}
119
123
120
124
8 . ** Launch your docs site** . Run ` ember serve ` and browse to
You can’t perform that action at this time.
0 commit comments