Skip to content

Commit 9b1a547

Browse files
deanpapastratsamselikoff
authored andcommitted
Change example snippets in quickstart to match the demo UI layout
1 parent c375233 commit 9b1a547

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

tests/dummy/app/pods/docs/quickstart/template.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,17 @@ and make sure it contains the `DocsViewer` component and navigation items for
4545
all docs pages in your site.
4646

4747
{{#docs-snippet name='quickstart-skeleton.hbs' title='tests/dummy/app/templates/docs.hbs'}}
48-
{{#docs-viewer as |viewer|}}
48+
{{docs-header}}
4949

50+
{{#docs-viewer as |viewer|}}
5051
{{#viewer.nav as |nav|}}
5152
{{nav.item 'Introduction' 'docs.index'}}
5253
{{nav.item 'Usage' 'docs.usage'}}
5354
{{/viewer.nav}}
5455

5556
{{#viewer.main}}
56-
<div class="docs-container">
57-
<div class="docs-section">
58-
{{outlet}}
59-
</div>
60-
</div>
57+
{{outlet}}
6158
{{/viewer.main}}
62-
6359
{{/docs-viewer}}
6460
{{/docs-snippet}}
6561

@@ -111,10 +107,18 @@ create the associated template.
111107
{{/docs-snippet}}
112108

113109
{{#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}}
118122
{{/docs-snippet}}
119123

120124
8. **Launch your docs site**. Run `ember serve` and browse to

0 commit comments

Comments
 (0)