docs: enable crawlLinks with exclude patterns (#2246)

This commit is contained in:
Pooya Parsa
2024-09-25 10:44:24 +02:00
committed by GitHub
parent 1aff74e985
commit 713021f12d

View File

@@ -90,8 +90,22 @@ export default defineNuxtConfig({
'/getting-started'
// '/api/releases.json',
// '/api/pulls.json'
]
],
crawlLinks: true
// ignore: !process.env.NUXT_GITHUB_TOKEN ? ['/pro'] : []
},
cloudflare: {
pages: {
routes: {
exclude: [
'/components/*',
'/getting-started/*',
'/composables/*',
'/api/*',
'/__og-image__/*'
]
}
}
}
},