cloudflare-docs icon indicating copy to clipboard operation
cloudflare-docs copied to clipboard

inconsistent SEO descriptions

Open dataCenter430 opened this issue 9 months ago • 3 comments

Existing documentation URL(s)

Many docs pages have no description in frontmatter, even though AGENTS.md recommends it for SEO. In Framework guides alone, only 5 of 33 files have description (Next.js, Nuxt, Analog, SvelteKit, static Next.js); the rest (including Docusaurus, Astro, Vue, Remix, etc.) do not. That hurts:

  • Search snippets and click-through
  • Consistency with the style guide and “how we docs” metadata
  • Parity with framework guides that already have descriptions we already have tooling (bin/generate-descriptions.ts) but it is not in CI and depends on a local Worker, so the gap persists and new pages are often added without descriptions.

What changes are you suggesting?

For now: add descriptions for SEO in each page omitted. That would align the whole docs set with the existing trend (Nuxt, Next, etc. already use descriptions) and make the existing generate-descriptions script something you run to fix reported pages rather than to discover them by hand.

After: New check in CI (e.g. in bin/ or a small GH action) that fails the build when any doc in src/content/docs (or a chosen subset) has no description. This forces descriptions to be added or explicitly opted out (e.g. via a allowlist for nav-only or special pages).

Additional information

If the implementation is needed, I'd love to take this as a contributor. thanks, cloudflare team. cc: @pedrosousa No response

dataCenter430 avatar Feb 22 '26 14:02 dataCenter430

Hello @dataCenter430 , Hope you are well. I created a PR for this issue. Could you please review my updates? Thanks

speedcoder430 avatar Feb 23 '26 12:02 speedcoder430

Hey there, we've marked this issue as stale because there's no recent activity on it. This label helps us identify long-standing issues in our repo (and not used to auto-close issues).

github-actions[bot] avatar Mar 10 '26 03:03 github-actions[bot]

Thank you so much for taking the time to share this feedback with us!

We have a large internal effort to improve GEO and AEO so we are aware of the content gap and actively working towards making improvements.

I am going to close this issue for now since we are tracking this internally, but please feel free to open a new one if you ever spot any issues or improvements needed in the docs themselves!

KimJ15 avatar Apr 10 '26 11:04 KimJ15