Repository navigation
Overhaul Spacefast Docs IA, refresh generated references, and absorb open PRs - #151
Merged
Merged
Conversation
Move every authored page into its new section folder (Get started, Build, Deploy, Domains & routing, Operate, Teams & account, Guides, Agents, Reference, Platforms), rewrite the folder meta files for the new order, and delete the pages this overhaul retires: the WordPress pages, the Eleventy recipe, the Glitch and Val Town migrations, the share-an-artifact agent pages, the hand-authored client setup duplicates, and the 23 CLI subpages the generated CLI reference replaces.
Re-export the OpenAPI documents, error catalog, CLI reference, changelog, and agent setup registry. The snapshot now carries 600 API operations, 382 Partner API operations, 1,012 error codes, 42 agent setup pages, and the 12 generated connection method pages.
Author 24 net-new pages across Get started, Build, Deploy, Domains & routing, Operate, Labs, Guides, Agents, and Reference; rewrite stale guides around spacefast.config.ts and the One Space model; fold in the 20 valid open docs pull requests; and polish prose to zero Vale alerts.
Scope the header, sidebar, and pagination across Docs, Guides, Agents, Reference, and Platforms; prune Partner API and pre-launch OpenAPI alias redirects down to 192 total routing rules; collapse generated /setup and /connect children in llms.txt (26 KB); and update route, experience, and prose-scope verification tests for the new IA.
|
Caution Review failedThe pull request is closed. Walkthrough
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. |
Lead the home page, agent preamble, Build, Agents, Guides, and Platforms pages with building and shipping in one Space instead of only the upload step. Remove internal details from public pages: the reserved-slug substring list, internal plan codes, runtime transport paths, a legacy header prefix and state file, and an internal merge helper name. Reconcile the pricing table with enforced limits: the 24 MiB Workers bundle on every plan and the 8-entry cron cap in project config. Remove beta labels from capabilities that are generally available. Link commands, operations, and error codes to their reference anchors so agents can follow each step to its contract, fix the sf check anchor, and stop linking an error code that has no reference page. Add a quiet product stage to the home page and light table and card polish.
The platform refuses to publish any file named mcp.json or .mcp.json. Blume writes a per-page JSON twin for the @spacefast/mcp changelog at api/docs/pages/changelog/packages/mcp.json, which failed the Spacefast build. Drop that one twin and its pointer in api/docs/pages.json during finalize, and fail the build if any such filename remains. The page and its Markdown mirror still publish.
The Spacefast publish step blocks any value shaped like a Space key. The anonymous publishing page used a realistic sfc_ example, so it now uses an obvious sfc_xxx placeholder. The REST API reference's createPublish response example carries a documented placeholder claim key from the product's OpenAPI document. Allowlist that exact example by its two fingerprints (the token and claim link rules) in the published serving config, so no other value is exempt. Fixing the example at its source would remove this entry.
…r-facing copy Add /infrastructure/http-status-codes covering Spacefast edge and infrastructure status codes (including 429 Worker response replacement) so Functions and Infrastructure pages no longer link out to external WP Cloud status code docs. Also update the header wordmark lockup and tighten user-facing copy on transfers, Labs, crons, and customization.
Weave SpacePress as the default full-stack app layer across Build, Collections and CMS, Actions/queries/jobs, Database and ORM, Email, Starters (including sf add shop), Glossary, homepage, and llms.txt. Add /wordpress covering SpacePress Admin, proxied and direct WordPress REST APIs, WordPress Abilities, generated clients, three-way content sync, sf app wp, and sf apply, and remove the stale /wordpress redirect. Also transform the /setup/claude-app overlay during overlay preparation to explain each Claude app (web/mobile, Desktop, Cowork, Claude Code), what each connection method enables, and resolve the Free-plan plugins contradiction with official Anthropic documentation sources.
…ed agents, and standalone dots
…hipped services block
…, versions, and notifications
…ls; sync Comments Go+ updates
…on, MCP parent_team access, and space.created accessSource
# Conflicts: # content/(operate)/comments.mdx # scripts/pricing-next.mjs
Contributor
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Unifies the Spacefast documentation site around a five-tab information architecture (Docs, Guides, Agents, Reference, Platforms), refreshes the generated reference snapshot from the latest public product source, prunes legacy redirects down to 192 routing rules, and absorbs the 20 valid open docs pull requests into one reviewable change.
Key changes
Five-tab navigation (
blume.config.ts,components/Header.astro,components/Sidebar.astro,components/Pagination.astro,components/sections.ts):/): Get started (including new/request-lifecycle), Build under the unified One Space model (/build,/collections,/actions,/database,/functions,/email,/object-storage,/crons,/environment-variables,/connectors,/zero-migration), Deploy (including new/channels), Domains & routing (5-page/domainsgroup with/urls,/domains,/domains/dns,/domains/registration,/domains/transfers;/redirects, new/headers,/caching,/customization), Operate (including/sso, unified/stats,/tag-manager,/activity,/exports,/space-transfers,/security,/production-checklist,/performance,/feedback, and the 13/infrastructurepages), and Teams & account (including Labs:/labs,/team-memories,/team-skills,/design-system)./guides): New/guideshub,/guides/starters,/guides/frameworks,/guides/recipes/{html,vite,next,astro},/guides/migrate, and/guides/migrate-from/*./agents): Consolidated/agentshub (non-technical + technical tracks,https://spacefast.com/setup.md,npx -y spacefast,drop.fast,push.fast), new/agents/poppy(Poppy 1.0),/agents/mcp-server,/agents/skills,/agents/permissions,/agents/anonymous-and-claim,/agents/domain-research, plus generated/setup/*and/connect/*pages./reference→/cli): CLI overview (/cli) + generated/cli/reference, REST API guides + new/api/versioning+ generated/api/reference,/config-file(rewritten aroundspacefast.config.tsprimary,sf.jsoncfallback, andspacepress.config.tscoexistence),/limits, generated/errors,/glossary, and generated/changelog./platforms): Platforms overview, Partner API guides, and generated/platforms/api/reference."How do I publish a site?"to"How do I publish a Space?".spacefast.config.tsprimary & One Space model:spacefast.config.ts(defineConfigfromspacefast/config), documentingsf.jsoncas JSON fallback and_redirects/_headersas optional convenience/migration files.Collections & CMS,Actions & forms,Transactional email,Tag Manager,Connectors,Sign in with Spacefast,Stats), keeping onlyTeam Memories,Team Skills, andDesign systemunder Labs.Generated snapshot refresh (
generated/**):/setupagent pages, and 12/connectmethod pages.Deletions & aggressive redirect pruning (
redirects.ts,scripts/redirect-rules.mjs,scripts/reference-aliases.json):/wordpress-data-sources,/wordpress,/recipes/eleventy,/migrate-from/glitch,/migrate-from/val-town,/agents/share-chatgpt-html,/agents/share-claude-artifact, the 23 hand-authored/cli/*.mdxsubpages, and the stale hand-authored client setup duplicates./partners/api/*,/partner-api/*,/platform-api/*) and pre-launch OpenAPI alias permutations (/api/operations/*,/api/reference/operations/*,/api/reference/resources/*), removed the prefix-compression logic, and removed the/headersand/api/versioningredirect collisions. Total routing rules dropped from 1,742 to 192 (189 static, 1 dynamic mount rewrite).Positioning and coherence pass:
/cli/reference,/api/reference, and/errorsanchors so agents can follow each step to its contract.Publish gate fixes (Spacefast Builds):
mcp.json. Blume wrote one as the JSON twin of the@spacefast/mcpchangelog page, soscripts/finalize-site.mjsdrops that twin and itsapi/docs/pages.jsonpointer and fails the build if such a name remains.sfc_xxxplaceholder, andpublic/spacefast.jsoncallowlists only the two fingerprints of thecreatePublishOpenAPI example claim key.Agent index & verification scripts:
scripts/build-llms-index.mjsandscripts/sidebar-routes.mjsto collapse generated/setup/*and/connect/*descendants to their family indexes, keepingdist/llms.txtat 27,677 bytes (below the 32,768-byte ceiling).scripts/verify-routes.mjs,scripts/docs-experience.test.mjs,scripts/redirect-rules.test.mjs,scripts/build-llms-index.test.mjs, andevals.yamlfor the five-tab IA.Open PRs absorbed (20)
All valid changes from the following open PRs are folded into this PR (please close after merge; none have been closed automatically):
#150— Consolidate agent docs & unified onboarding UX (setup.md,npx -y spacefast,drop.fast,push.fast, generated/setupand/connect)#145— Uniform 24 MiB uncompressed compiled Functions/Workers bundle limit across plans (limits.mdx,pricing.mdx,functions.mdx,performance.mdx)#139— Usage budgets alerts (50% / 80% / 100%) and pause thresholds onpricing.mdx(reconciled with current plan defaults)#137— Exact Next.js server build support (15.5.29+/16.4.5+via OpenNext1.20.17) acrossframeworks.mdx,recipes/next.mdx, andmigrate-from/vercel.mdx#136—.spacefast/config-source.tsversion storage, visibility, and one-time publish warning inconfig-file.mdx#135— Updated device approval consent layout (Customize Access,Team Access, Allow / Deny) inauthentication.mdxandagents/permissions.mdx#131— Domain registration, contacts/privacy, renewal/redemption, and DNS guides integrated into the 5-page/domainssection#95— SSO & external identity (/sso) and access reference updates (/share)#94— Crawler protection, cache testing, local header inspection (sf routing inspect/sf routing compute), and domain verification caveats#93— Distinguishsf domains rm(unassign) fromsf domains delete#92— Black-on-greenpublic/favicon.svg(already present onmainvia#98, verified intact)#91— Verified browser Telemetry folded into unified/statswithout Beta split (button label reconciled toSpacebar Stats)#85— Archiving/restoring Spaces and owner/admin inactive Space audit in/exportsand/spaces#82— Claude Desktop connector-first caveats (no.mcpbrecommendation, reconciled with#150)#77—spacefast.config.ts,defineConfig, exported types, async config, discovery precedence, andsf.jsoncfallback in/config-file#76— Prompt-first connected AI conversation onboarding in/agentsand/agents/anonymous-and-claim#72— Team context moved under Labs (/labs,/team-memories,/team-skills) and removed nonexistent CLI 0.3.0 output#71— Platform HTTP 429 response replacement caveat in/functions#68— External proxy routes available independently of Partner feature grants in/platforms/partner-api/configuration#59— Roothandler.tsowns all non-file paths and 404s in/functionsIntentionally excluded (2):
#96(wordpress-data-sources.mdxretired)#65(old Zero 0.8/zero-runtimereplaced by single/zero-migrationpage)Companion follow-ups (separate repos)
generated/redirects.jsonemits only active canonical renames..vale.ini/scripts/openapi-prose-scope.mjs:domain_connect_authorization_not_found("access token"→"OAuth access token")zero_v2_compiler_mismatch("runtime engine"→ user-facing runtime phrasing)info.description("wp.cloud-compatible"→"WP Cloud-compatible").vale.inicarve-outs once the next snapshot refresh carries those upstream fixes.https://spacefast.com/schemas/sf.jsonreturns 404 althoughSPACE_CONFIG_SCHEMA_URLpoints there; publish the JSON Schema (the docs now describe$schemaas a format marker and point editor completion atspacefast.config.ts).sf spaces/sf apphelp strings at the source.@spacefast/clienthomepage (/docs/client), the Git push receipt (/docs/git-push), and the dashboard MCP step (/docs/mcp). All three now 301 to the new pages, but should point there directly.sfc_A1b2C3d4E5f6G7h8I9j0K1example in thecreatePublishOpenAPI response with a low-entropy placeholder, then drop the docs allowlist entry.CONNECT_DOC_PAGES_LIVEcan be flipped totrueonce this merges, since/connect/*pages now ship.spacefast.com):/routing→/redirects,/zero-runtime→/zero-migration,/frameworks→/guides/frameworks,/migrate→/guides/migrate,/recipes/*→/guides/recipes/*,/cli/<subcommand>→/cli/reference#sf-...,/agents/<client>→/setup/<client>). All moved public routes also keep 301 redirects in_redirectsduring transition.Verification
CI on the head commit:
docspass, Spacefast Builds pass, Socket pass. A local run of the product's own secret scanner (Spacefast rules plus Gitleaks defaults) overdist/reports 0 blocking findings across 13,831 files.All required local verification checks pass:
bun run verify:generated— 1,142 artifacts, 600 API ops, 382 Partner ops, 1,012 error codes, 28 packages, 38 releasesbun run verify:commands— 1,251 Markdown filesbun run check(blume check --strict --isolated) — 0 errors, 0 warnings, 0 hintsbun run validate(blume validate --strict) — 0 broken linksbun run build— built cleanly;dist/llms.txtis 27,677 bytes (< 32,768 bytes)bun run test:docs— 41/41 tests passingbun run audit— 2,235 pages audited; the only findings are the declared Website-owned dependencies checked at compositionbun run verify:public-safety— 2,527 text files and 3 symlinks scanned, cleanbun run verify:prose— 0 Vale alerts across 1,250 pages and 3,694 OpenAPI prose fieldsbun run verify:routes— all 118 IA routes, 2,350 HTML pages, 2,233 Pagefind records, 1,960 sitemap URLs, 2,233 LLM/corpus pages, 192 routing rules, and SEO checks on 2,234 pages passed