Skip to content

Commit 1e6e56b

Browse files
committed
no index on md URLs
1 parent 32815ba commit 1e6e56b

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

docusaurus.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,7 @@ module.exports = async function createConfigAsync() {
389389
// Generate both llms.txt (index) and llms-full.txt (complete content)
390390
generateLLMsTxt: true,
391391
generateLLMsFullTxt: true,
392+
generateMarkdownFiles: true,
392393

393394
// Exclude imported markdown partials that should not be published as standalone LLM docs.
394395
ignoreFiles: ['docs/cloud/references/regions/private-service.md', 'docs/cloud/references/regions/gcpregions.md'],

vercel.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
"github": {
55
"silent": true
66
},
7+
"headers": [
8+
{
9+
"source": "/(.*)\\.md",
10+
"headers": [
11+
{
12+
"key": "X-Robots-Tag",
13+
"value": "noindex, nofollow"
14+
}
15+
]
16+
}
17+
],
718
"redirects": [
819
{
920
"source": "/evaluate/serverless-workers-demo",

0 commit comments

Comments
 (0)