Skip to content

Commit

Permalink
Bump addon docs (#1625)
Browse files Browse the repository at this point in the history
* Bump addon docs

* Fix rendering
  • Loading branch information
RobbieTheWagner authored Dec 24, 2023
1 parent 91ca3d0 commit d028d8c
Show file tree
Hide file tree
Showing 3 changed files with 216 additions and 64 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"console-ui": "^3.1.1",
"ember-auto-import": "^2.6.3",
"ember-cli": "~5.1.0",
"ember-cli-addon-docs": "^6.0.1",
"ember-cli-addon-docs": "^7.0.0",
"ember-cli-addon-docs-yuidoc": "^1.0.0",
"ember-cli-clean-css": "^2.0.0",
"ember-cli-dependency-checker": "^3.3.2",
Expand Down
34 changes: 20 additions & 14 deletions tests/dummy/app/templates/docs.hbs
Original file line number Diff line number Diff line change
@@ -1,20 +1,26 @@
<DocsViewer as |viewer|>
<viewer.nav as |nav|>
{{nav.section "Getting Started"}}
<nav.section @label="Getting Started" />

{{nav.section "Guides"}}
{{nav.item "Installation" "docs.guides.installation"}}
{{nav.item "Usage" "docs.guides.usage"}}
{{nav.item "Structure" "docs.guides.structure"}}
{{nav.item "Upgrading" "docs.guides.upgrading"}}
{{nav.item "Development and Debugging" "docs.guides.development-and-debugging"}}
{{nav.item "CI" "docs.guides.ci"}}
{{nav.item "Content Security Policy (CSP)" "docs.guides.csp"}}
<nav.section @label="Guides" />
<nav.item @label="Installation" @route="docs.guides.installation" />
<nav.item @label="Usage" @route="docs.guides.usage" />
<nav.item @label="Structure" @route="docs.guides.structure" />
<nav.item @label="Upgrading" @route="docs.guides.upgrading" />
<nav.item
@label="Development and Debugging"
@route="docs.guides.development-and-debugging"
/>
<nav.item @label="CI" @route="docs.guides.ci" />
<nav.item @label="Content Security Policy (CSP)" @route="docs.guides.csp" />

{{nav.section "FAQ"}}
{{nav.item "Common Issues" "docs.faq.common-issues"}}
{{nav.item "Routing and Asset Loading" "docs.faq.routing-and-asset-loading"}}
{{nav.item "Security" "docs.faq.security"}}
<nav.section @label="FAQ" />
<nav.item @label="Common Issues" @route="docs.faq.common-issues" />
<nav.item
@label="Routing and Asset Loading"
@route="docs.faq.routing-and-asset-loading"
/>
<nav.item @label="Security" @route="docs.faq.security" />
</viewer.nav>

<viewer.main>
Expand All @@ -24,4 +30,4 @@
</div>
</div>
</viewer.main>
</DocsViewer>
</DocsViewer>
Loading

0 comments on commit d028d8c

Please # to comment.