diff --git a/.gitignore b/.gitignore index 6f1e718..f94c050 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ # next.js /.next/ /out/ +next-env.d.ts # production /build @@ -24,6 +25,8 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +logs +*.log # local env files .env.local @@ -38,3 +41,7 @@ yarn-error.log* .faust globalStylesheet.css possibleTypes.json + +## Build artifacts for sitemaps +/public/sitemap*.xml +/public/robots.txt diff --git a/components/Callout.jsx b/components/Callout.jsx index f6e39aa..e459ea9 100644 --- a/components/Callout.jsx +++ b/components/Callout.jsx @@ -27,7 +27,7 @@ export function Callout({ type = 'note', title, children }) { return (
{title} diff --git a/components/DocsSidebarNavigation.jsx b/components/DocsSidebarNavigation.jsx index d1ca716..243d8ed 100644 --- a/components/DocsSidebarNavigation.jsx +++ b/components/DocsSidebarNavigation.jsx @@ -25,7 +25,7 @@ export function DocsSidebarNavigation({ className, data, navigation }) { if (!currentNode) { return false; } - + return section.links.some(link => link.href.includes(currentNode.uri)); }; @@ -61,7 +61,7 @@ export function DocsSidebarNavigation({ className, data, navigation }) { >