From 68d809796f3d54ad342027c50b0a80f127ec1e42 Mon Sep 17 00:00:00 2001 From: Jordan Hawker Date: Thu, 16 Apr 2020 17:19:05 -0700 Subject: [PATCH] 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 --- tests/dummy/app/pods/docs/quickstart/template.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dummy/app/pods/docs/quickstart/template.md b/tests/dummy/app/pods/docs/quickstart/template.md index f1378b690..ce1499503 100644 --- a/tests/dummy/app/pods/docs/quickstart/template.md +++ b/tests/dummy/app/pods/docs/quickstart/template.md @@ -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}}