Skip to content

Commit 68d8097

Browse files
authored
Use section instead of item for Introduction (#461)
* Use section instead of item for Introduction This reflects how the addon-docs site itself is structured and is also consistent with the fact that the Quickstart guide later asks you to generate an index page, which would get added as a sub-item in the nav under the Introduction section. It's also convenient, because it subtly introduces the concept of a nav section, which isn't covered anywhere else in the Quickstart. * Remove route string Unused by section component
1 parent 93be4c8 commit 68d8097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ The `docs` route is the entry point for your guides and API docs. Create a new `
9191
{{#docs-snippet name="quickstart-skeleton.hbs" language="htmlbars" title="tests/dummy/app/templates/docs.hbs"}}
9292
{{#docs-viewer as |viewer|}}
9393
{{#viewer.nav as |nav|}}
94-
{{nav.item "Introduction" "docs.index"}}
94+
{{nav.section "Introduction"}}
9595
{{/viewer.nav}}
9696

9797
{{#viewer.main}}

0 commit comments

Comments
 (0)