Commit 3952a9f4 authored by Thomas Bouffard's avatar Thomas Bouffard
Browse files

feat: remove the 'isNotApiComponent' handlebars macro

We don't have component using the 'bonitaAPI' component.name. So, there is no
reason for filtering such component in nav and toc.
This seems to be a remaining part of the POC done in 2020: we were trying to
integrate the Bonita API documentation within the site. We don't have such API
in the site for now.
parent e5a04b04
'use strict'
module.exports = (value) => {
return value !== 'bonitaAPI'
}
{{#if (isNotApiComponent page.component.name)}}
<div class="nav-container"{{#if page.component}} data-component="{{page.component.name}}" data-version="{{page.version}}"{{/if}}>
<aside class="nav">
<div class="panels">
......@@ -7,4 +6,3 @@
</div>
</aside>
</div>
{{/if}}
{{#if (isNotApiComponent page.component.name)}}
<aside class="toc sidebar" data-title="{{or page.attributes.toctitle 'Contents'}}" data-levels="{{{or page.attributes.toclevels 2}}}">
<div class="toc-menu"></div>
</aside>
{{/if}}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment