diff --git a/clayui.com/gatsby/onCreateNode.js b/clayui.com/gatsby/onCreateNode.js index 58865ac9f2..e289c6164d 100644 --- a/clayui.com/gatsby/onCreateNode.js +++ b/clayui.com/gatsby/onCreateNode.js @@ -78,7 +78,10 @@ module.exports = exports.onCreateNode = ({actions, getNode, node}) => { '@clayui/', '' )}.html`; - } else { + } else if ( + !relativePath.includes('api-') || + !relativePath.includes('markup-') + ) { slug = `docs/components/${fileName .replace('_', '-') .toLowerCase()}.html`;