Skip to content

Commit

Permalink
Use section instead of item for Introduction (#461)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
elwayman02 authored Apr 17, 2020
1 parent 93be4c8 commit 68d8097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dummy/app/pods/docs/quickstart/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ The `docs` route is the entry point for your guides and API docs. Create a new `
{{#docs-snippet name="quickstart-skeleton.hbs" language="htmlbars" title="tests/dummy/app/templates/docs.hbs"}}
{{#docs-viewer as |viewer|}}
{{#viewer.nav as |nav|}}
{{nav.item "Introduction" "docs.index"}}
{{nav.section "Introduction"}}
{{/viewer.nav}}

{{#viewer.main}}
Expand Down

0 comments on commit 68d8097

Please sign in to comment.