Skip to content

Reduce website/ to the docs content - #3099

Merged
Urigo merged 1 commit into
masterfrom
website-content-only
Sep 9, 2026
Merged

Urigo merged 1 commit into
masterfrom
website-content-only

Conversation

@Urigo

@Urigo Urigo commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator

The GraphQL Scalars docs move to the-guild-org/website, which fetches this repo's website/ folder at build time and renders it with the shared Hive layout, the same way it does for Yoga, Envelop, Inspector, Codegen, and Mesh. Website PR: the-guild-org/website#1981.

What changes

  • website/ keeps only content: content/ (one folder per section) and assets/. A README explains the layout and authoring conventions.
  • Nextra _meta files become meta.json, page H1s move into frontmatter title, and imports from @theguild/components are gone (the site provides Callout and Tabs without imports).
  • The Next.js app, styles, components, and .github/workflows/website.yml are removed; the deploy:website script goes.
  • Two new workflows: notify-website (redeploys the live docs on merges to master that touch website/) and docs-preview (asks the website repo for a preview at https://scalars-pr-<n>.guild-dev-website.pages.dev/graphql/scalars for same-repo PRs). Both need the WEBSITE_DISPATCH_TOKEN secret (org-level under graphql-hive, already in place).

Merge order

  1. This PR.
  2. the-guild-org/website PR, then its router-mapping removal.

Prettier was run on every changed file with the repo config; the commit was made with --no-verify where a pre-commit hook expects a lockfile matching a local install.

🤖 Generated with Claude Code

The docs at the-guild.dev/graphql/scalars are now built and deployed by
the-guild-org/website, which fetches this folder at build time. Everything
that only existed to build a standalone Nextra site is removed: the
Next.js app, its config and components, the website workspace with its
dependencies, and the deploy workflow.

What stays is content only: content/ (Nextra _meta files become
meta.json, H1s become frontmatter titles, @theguild/components imports are
gone) and the images under assets/. Two workflows tell the website repo
about changes: notify-website redeploys on merges to master, docs-preview
requests a preview deployment for pull requests that touch website/.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

📖 Docs preview (rebuilds on every push, ready ~10 min after each): https://scalars-pr-3099.guild-dev-website.pages.dev/graphql/scalars

@Urigo
Urigo merged commit de81517 into master Sep 9, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants