Skip to content

Commit f9889ec

Browse files
authored
docs: excludes comparison docs from search indexing (#891)
1 parent d08274a commit f9889ec

13 files changed

Lines changed: 34 additions & 10 deletions

File tree

docs/contentlayer.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ const baseFields: FieldDefs = {
3939
type: 'string',
4040
description: 'The canonical url of the doc, if different from the url',
4141
},
42+
noindex: {
43+
type: 'boolean',
44+
description: 'Prevent search engines from indexing this page',
45+
},
4246
}
4347

4448
const computedFields: ComputedFields = {

docs/docs/misc/comparison/ampt.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to Ampt'
3+
noindex: true
34
---
45

56
# Ampt vs. Nitric

docs/docs/misc/comparison/aws-cdk.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to AWS CDK'
3+
noindex: true
34
---
45

56
# AWS CDK vs. Nitric

docs/docs/misc/comparison/aws-sam.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to AWS Serverless Application Model (SAM)'
3+
noindex: true
34
---
45

56
# AWS SAM vs. Nitric

docs/docs/misc/comparison/bicep.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to Bicep'
3+
noindex: true
34
---
45

56
# Bicep vs. Nitric

docs/docs/misc/comparison/encore.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to Encore'
3+
noindex: true
34
---
45

56
# Encore vs. Nitric

docs/docs/misc/comparison/gcp-deployment-manager.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to Google Cloud Deployment Manager'
3+
noindex: true
34
---
45

56
# Google Cloud Deployment Manager vs. Nitric

docs/docs/misc/comparison/pulumi.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to Pulumi'
3+
noindex: true
34
---
45

56
# Pulumi vs. Nitric

docs/docs/misc/comparison/sst.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to SST'
3+
noindex: true
34
---
45

56
# SST vs. Nitric

docs/docs/misc/comparison/terraform.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
description: 'Comparison to Terraform'
3+
noindex: true
34
---
45

56
# Terraform vs. Nitric

0 commit comments

Comments
 (0)