2021-03-17 15:58:17 +00:00
|
|
|
{{page-title 'Engineering Docs - Consul' separator=' - '}}
|
|
|
|
|
|
|
|
{{document-attrs class="is-debug"}}
|
2021-03-08 12:22:01 +00:00
|
|
|
<App class="docs" id="wrapper">
|
|
|
|
<:main-nav>
|
2021-03-17 15:58:17 +00:00
|
|
|
|
|
|
|
<DocfyOutput as |node|>
|
|
|
|
<ul>
|
|
|
|
<li role="separator">Docs</li>
|
|
|
|
{{#each node.children as |child|}}
|
|
|
|
{{#each child.pages as |child|}}
|
|
|
|
<li
|
|
|
|
class={{if (is-href (to-route child.url)) 'is-active'}}
|
|
|
|
>
|
|
|
|
<DocfyLink @to={{child.url}}>
|
2021-04-22 11:16:56 +00:00
|
|
|
{{classify child.title}}
|
2021-03-17 15:58:17 +00:00
|
|
|
</DocfyLink>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
|
|
|
{{#each child.children as |section|}}
|
|
|
|
<li role="separator">{{section.label}}</li>
|
|
|
|
{{#each (flatten-property section 'pages') as |child|}}
|
|
|
|
<li
|
|
|
|
class={{concat
|
|
|
|
(slugify section.label) ' '
|
|
|
|
(if (eq child.frontmatter.class 'ember') 'ember-component') ' '
|
2021-06-21 10:40:14 +00:00
|
|
|
(if (eq child.frontmatter.class 'css') 'css-component') ' '
|
2021-03-17 15:58:17 +00:00
|
|
|
(if (is-href (to-route child.url)) 'is-active')
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<DocfyLink @to={{child.url}}>
|
2021-04-22 11:16:56 +00:00
|
|
|
{{classify child.title}}
|
2021-03-17 15:58:17 +00:00
|
|
|
</DocfyLink>
|
|
|
|
</li>
|
2021-03-08 12:22:01 +00:00
|
|
|
{{/each}}
|
2021-03-17 15:58:17 +00:00
|
|
|
{{/each}}
|
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
</DocfyOutput>
|
2021-03-08 12:22:01 +00:00
|
|
|
|
|
|
|
</:main-nav>
|
|
|
|
<:main>
|
2021-03-17 15:58:17 +00:00
|
|
|
<DocfyOutput @fromCurrentURL={{true}} as |page|>
|
|
|
|
{{outlet}}
|
|
|
|
</DocfyOutput>
|
2021-03-08 12:22:01 +00:00
|
|
|
</:main>
|
|
|
|
</App>
|
|
|
|
|