docs: rewrite documentation site with Docusaurus#1507
docs: rewrite documentation site with Docusaurus#1507jeffredodd wants to merge 6 commits intomainfrom
Conversation
Set up Docusaurus site with API reference docs generated from OpenAPI spec, update existing markdown docs for Docusaurus compatibility, and add website configuration with custom theming and sidebar structure. Made-with: Cursor
- Add quickstart section (install, first flow, next steps) - Add concepts section (flows/blocks, provider, events, auth, composition, theming, errors, i18n) - Add complete component inventory with individual pages for every flow and block - Add consolidated guides (routing, observability, component adapter, proxy setup, theme variables) - Rewrite sidebar, landing page, footer, and README to match new structure - Fact-checked all props, events, code examples, and flow steps against source code Made-with: Cursor
|
@copilot Can you catch us up here to the latest? Make sure any docs that changes are edited and updated here as well. |
# Conflicts: # README.md # docs/integration-guide/event-handling.md # docs/integration-guide/routing.md # docs/workflows-overview/company-onboarding.md # docs/workflows-overview/employee-onboarding/employee-onboarding.md # docs/workflows-overview/employee-onboarding/employee-self-onboarding.md # docs/workflows-overview/workflows-overview.md Co-authored-by: jeffredodd <2861516+jeffredodd@users.noreply.github.com>
Merged latest
Note: main also added several new components (Employee Dashboard, EmployeeList, PolicySettings, SelectEmployees, address management) that don't yet have dedicated pages under |
|
Warning According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. It is recommended to resolve "Warn" alerts too. For more information please check in at #security-help. For License Policy Violations please also tag @Aoife in #security-help.
Ignoring alerts on:
|
|
@copilot Can you fix the CI here? |
CI fixes pushed in 237ce7a:
Local verification: Two remaining CI signals are unrelated to my doc work:
|
|
@SocketSecurity ignore npm/lunr-languages@1.14 |
|
@SocketSecurity ignore npm/lunr-languages@1.14.0 |
|
@SocketSecurity ignore npm/typescript@5.8.3 |
Summary
New Docusaurus-powered documentation site for the Gusto Embedded React SDK. Self-hosted technical docs that the SDK team owns end-to-end, plus a built-in MCP server so AI assistants (Claude, Cursor, Copilot, etc.) can query the docs directly during development.
What's here
npm installto a working component on screen, including proxy setupdocusaurus-plugin-mcp-serveris wired in and indexes the built site atpostBuild. Runnpm run mcp:serveto exposedocs_search/docs_fetchtools athttp://localhost:4000/mcpfor any MCP-compatible clientonBrokenLinks: 'throw'andonBrokenAnchors: 'throw'so any regression fails the build (current build is clean — zero warnings, zero errors)Why Docusaurus
npm run mcp:serverunning, Claude/Cursor/Copilot can look up accurate SDK component props, events, and usage from the live docs instead of relying on training data@easyops-cn/docusaurus-search-local), dark/light mode, syntax-highlighted code blocks, breadcrumb navigation, responsive layoutFact-checked against source
5 verification passes were run against the TypeScript source code:
componentEventsconstants (all 244 events)onboardingStateMachine.ts, etc.)Information Architecture
Still to do
How to preview locally
How to demo the MCP server
Screenshots