-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Robert Wagner <[email protected]>
- Loading branch information
1 parent
e5b3145
commit 7ac2ee6
Showing
42 changed files
with
333 additions
and
311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<h4 class="docs-mb-2 docs-text-grey docs-font-bold docs-tracking-wide docs-uppercase docs-text-xxs"> | ||
<h4 class="docs-mb-2 docs-text-grey docs-font-bold docs-tracking-wide docs-uppercase docs-text-xxs" ...attributes> | ||
{{yield}} | ||
</h4> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ | |
functions=@module.functions | ||
variables=@module.variables | ||
}} | ||
...attributes | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<div class="md:docs-flex docs-w-full"> | ||
{{yield (hash | ||
nav=(component "docs-viewer/x-nav") | ||
main=(component "docs-viewer/x-main" onReindex=(set this "pageIndex")) | ||
)}} | ||
<div class="docs-viewer docs-flex docs-flex-1" ...attributes> | ||
<div class="md:docs-flex docs-w-full"> | ||
{{yield | ||
(hash | ||
nav=(component "docs-viewer/x-nav") | ||
main=(component "docs-viewer/x-main" onReindex=(set this "pageIndex")) | ||
) | ||
}} | ||
|
||
<DocsViewer::XCurrentPageIndex @pageIndex={{this.pageIndex}} /> | ||
</div> | ||
<DocsViewer::XCurrentPageIndex @pageIndex={{this.pageIndex}} /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 13 additions & 6 deletions
19
addon/components/docs-viewer/x-autogenerated-api-docs/index.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,25 @@ | ||
{{#if (gt @project.modules.length 0)}} | ||
{{docs-viewer/x-section "API Reference" style="large"}} | ||
<DocsViewer::XSection @label="API Reference" @style="large" /> | ||
|
||
{{#each this.resolvedTypeSections as |section|}} | ||
{{docs-viewer/x-section section.type}} | ||
<DocsViewer::XSection @label={{section.type}} /> | ||
|
||
{{#each section.items as |item|}} | ||
{{docs-viewer/x-nav-item (break-on item.name "/") (concat @root ".api.item") item.path}} | ||
<DocsViewer::XNavItem | ||
@label={{break-on item.name "/"}} | ||
@route={{concat @root ".api.item"}} | ||
@model={{item.path}} | ||
/> | ||
{{/each}} | ||
{{/each}} | ||
|
||
{{#if this.moduleIndex}} | ||
{{docs-viewer/x-section "Modules"}} | ||
<DocsViewer::XSection @label="Modules" /> | ||
|
||
<DocsViewer::XAutogeneratedApiDocs::ModuleNav @node={{this.moduleIndex}} @root={{@root}} /> | ||
<DocsViewer::XAutogeneratedApiDocs::ModuleNav | ||
@node={{this.moduleIndex}} | ||
@root={{@root}} | ||
/> | ||
{{/if}} | ||
|
||
{{/if}} | ||
{{/if}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
addon/components/docs-viewer/x-autogenerated-api-docs/module-nav/index.hbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
<DocsViewer::XNavList @class='docs-ml-4' as |subnav|> | ||
<DocsViewer::XSection @style='subsection'> | ||
{{this.node.name}} | ||
<DocsViewer::XNavList @class="docs-ml-4" ...attributes as |subnav|> | ||
<DocsViewer::XSection @style="subsection"> | ||
{{@node.name}} | ||
</DocsViewer::XSection> | ||
|
||
{{#each this.node.children as |child|}} | ||
{{#each @node.children as |child|}} | ||
{{#if child.children}} | ||
<DocsViewer::XAutogeneratedApiDocs::ModuleNav | ||
@node={{child}} | ||
@root={{@root}} | ||
/> | ||
{{else}} | ||
{{subnav.item | ||
child.name | ||
(concat @root '.api.item') | ||
(concat 'modules/' child.id) | ||
}} | ||
<subnav.item | ||
@label={{child.name}} | ||
@route={{concat @root ".api.item"}} | ||
@model={{concat "modules/" child.id}} | ||
/> | ||
{{/if}} | ||
{{/each}} | ||
</DocsViewer::XNavList> |
8 changes: 0 additions & 8 deletions
8
addon/components/docs-viewer/x-autogenerated-api-docs/module-nav/index.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.