Skip to content

[Website] Improve doc titles and sync missed content - #10022

Merged
tobias-tengler merged 5 commits into
mainfrom
tte/doc-title-improvements
Jul 1, 2026
Merged

[Website] Improve doc titles and sync missed content#10022
tobias-tengler merged 5 commits into
mainfrom
tte/doc-title-improvements

Conversation

@tobias-tengler

Copy link
Copy Markdown
Member

No description provided.

@github-actions github-actions Bot added 📚 documentation This issue is about working on our documentation. 🌶️ website labels Jul 1, 2026
@tobias-tengler
tobias-tengler marked this pull request as ready for review July 1, 2026 07:50
Copilot AI review requested due to automatic review settings July 1, 2026 07:50

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the website docs to improve page titles (including SEO/OG titles) and fills in/refreshes documentation content, particularly around Fusion field-selection arguments and Hot Chocolate directives/introspection.

Changes:

  • Added optional metaTitle frontmatter support and used it in docs generateMetadata() for better SEO/browser tab titles without changing on-page headings.
  • Updated multiple docs index pages’ title (and added metaTitle where beneficial) plus several doc content improvements (Fusion key/selection arguments, Hot Chocolate directive definitions, opt-in wording).
  • Minor UI/content tweaks: logo cloud logos now link to company sites; mobile nav item styling adjusted.

Reviewed changes

Copilot reviewed 25 out of 25 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
website/src/helpers/readFrontmatter.ts Extends doc frontmatter typing with metaTitle.
website/app/docs/[...slug]/page.tsx Uses metaTitle to override computed docs metadata title.
website/src/components/MobileNav.tsx Adjusts mobile menu link classes (removes hover/transition styles).
website/src/components/home/LogoCloud.tsx Wraps enterprise logos with external links and accessibility labels.
website/content/docs/strawberryshake/index.md Updates doc title and adds metaTitle.
website/content/docs/skillz/index.md Updates doc title and adds metaTitle.
website/content/docs/nitro/index.md Updates doc title, adds metaTitle, removes Slack callout.
website/content/docs/mocha/index.md Updates doc title and adds metaTitle.
website/content/docs/mocha/mediator/index.md Renames section title from “Overview” to “Mediator”.
website/content/docs/mocha/sagas.md Replaces em-dash punctuation and table placeholders with hyphen formatting.
website/content/docs/hotchocolate/index.md Updates doc title and adds metaTitle.
website/content/docs/hotchocolate/server/index.md Renames section title to “Server”.
website/content/docs/hotchocolate/security/index.md Renames section title to “Securing Your API”.
website/content/docs/hotchocolate/resolvers/index.md Renames section title to “Resolvers”.
website/content/docs/hotchocolate/performance/index.md Renames section title to “Performance”.
website/content/docs/hotchocolate/fetching-data/index.md Renames section title to “Fetching Data”.
website/content/docs/hotchocolate/fetching-data/batching/index.md Renames section title to “Batching”.
website/content/docs/hotchocolate/fetching-data/integrations/index.md Renames section title to “Integrations”.
website/content/docs/hotchocolate/defining-a-schema/versioning.md Clarifies opt-in applies to schema elements (incl. directive definitions) and updates introspection guidance.
website/content/docs/hotchocolate/defining-a-schema/directives.md Adds documentation for directives applied to directive definitions, including introspection/troubleshooting.
website/content/docs/fusion/index.md Updates doc title and adds metaTitle.
website/content/docs/fusion/entities-and-lookups.md Documents constant arguments in @key field selections.
website/content/docs/fusion/directives-reference.md Documents constant arguments in @key, @is, @require; clarifies @provides argument restriction.
website/content/docs/fusion/data-requirements-and-mapping.md Adds a new section explaining constant arguments in @require/@is selection maps.
website/content/docs/fusion/composition.md Updates composition error guidance and documents KEY_INVALID_ARGUMENTS and related semantics.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 89 to +91
const pageTitle =
title && product && title !== product ? `${title} - ${product}` : title;
metaTitle ??
(title && product && title !== product ? `${title} - ${product}` : title);
@tobias-tengler
tobias-tengler merged commit 6a4f77b into main Jul 1, 2026
18 checks passed
@tobias-tengler
tobias-tengler deleted the tte/doc-title-improvements branch July 1, 2026 07:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 documentation This issue is about working on our documentation. 🌶️ website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants