Skip to content
This repository was archived by the owner on Apr 21, 2026. It is now read-only.

Commit 8ac36ef

Browse files
authored
Merge branch 'gh-source' into bugfix/v2-integrations-sidemenu
2 parents a689efd + 2d06e0c commit 8ac36ef

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/templates/integration.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,21 @@ const Integration = (props) => {
1010
const scanners = props.data.scanner.edges;
1111
const persistenceProviders = props.data.persistenceProvider.edges;
1212
const hooks = props.data.hook.edges;
13+
const showExamples = props.path.includes('scanners');
1314

1415
return (
1516
<Layout bodyClass="integration">
1617
<div className="sidebar-wrapper">
1718
<Sidebar dataArray={[scanners, persistenceProviders, hooks]}/>
19+
1820
<div id="content">
1921
<div className="container-fluid" id="integration-doc">
2022
<h1 className="title">{title}</h1>
2123
<div
2224
className="content"
2325
dangerouslySetInnerHTML={{ __html: html }}
2426
/>
25-
<ScannerExamples scanner={props.path} />
27+
{showExamples && <ScannerExamples scanner={props.path} />}
2628
</div>
2729
</div>
2830
</div>

0 commit comments

Comments
 (0)