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

Commit 7fb1b4d

Browse files
committed
Remove unneeded template
We refactored the template into a component and won't need it any more
1 parent 919b83f commit 7fb1b4d

2 files changed

Lines changed: 0 additions & 89 deletions

File tree

gatsby-node.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,6 @@ exports.createPages = ({ graphql, actions }) => {
5353
}
5454
}
5555
}
56-
scannerExamples: allFile(filter: {absolutePath: {regex: "/scanners/(.*)/examples/"}, extension: {eq: "yaml"}}) {
57-
edges {
58-
node {
59-
id
60-
name
61-
extension
62-
dir
63-
}
64-
}
65-
}
6656
persistenceProvider: allMarkdownRemark(
6757
filter: { fileAbsolutePath: { regex: "/integrations/persistence-provider/" } }
6858
) {
@@ -108,15 +98,6 @@ exports.createPages = ({ graphql, actions }) => {
10898
id: node.id
10999
}
110100
});
111-
112-
const examplesComponent = path.resolve("src/templates/scannerExamples.js");
113-
createPage({
114-
path: `integrations/${node.frontmatter.path}/examples`,
115-
component: examplesComponent,
116-
context: {
117-
basePath: `/${node.frontmatter.path}/examples/`
118-
}
119-
});
120101
});
121102
result.data.persistenceProvider.edges.forEach(({ node }) => {
122103
const component = path.resolve("src/templates/integration.js");

src/templates/scannerExamples.js

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)