Skip to content

Conversation

@harlan-zw
Copy link
Contributor

@harlan-zw harlan-zw commented Dec 1, 2025

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality)
  • ✨ New feature (a non-breaking change that adds functionality)
  • 🧹 Chore (updates to the build process or auxiliary tools and libraries)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

We originally added support for the Content-Usage directive. Since then, Cloudflare has introduced Content-Signal, and they both have a different implementation so we add support for both with their own types and validation.

export default defineNuxtConfig({
  robots: {
    groups: [
      {
        userAgent: '*',
        allow: '/',
        contentSignal: {
          'ai-train': 'no',
          search: 'yes'
        }
      }
    ]
  }
})

@harlan-zw harlan-zw changed the title feat: improved Content-Signal support feat: improved Content-Signal support Dec 1, 2025
@harlan-zw harlan-zw merged commit 93d525f into main Dec 1, 2025
4 checks passed
@harlan-zw harlan-zw deleted the feat/improved-ai-directives branch December 1, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants