chore(docs): add Docusaurus documentation site with GitHub Pages deployment#204
Merged
Conversation
…oyment Sets up a complete @cornerstone/docs workspace using Docusaurus 3.9.2 (Webpack- based, no esbuild/SWC native binaries) deployed to GitHub Pages via a dedicated CI workflow. - docs/ workspace: package.json, docusaurus.config.js, sidebars.js, tsconfig.json - docs/src/: 22 Markdown content pages across Guides and Development sidebars - Getting started (Docker setup, first login, configuration/env vars) - Work items (CRUD, tags, notes/subtasks, dependencies, keyboard shortcuts) - Users & auth (OIDC setup, admin panel) - Budget (placeholder with under-development notice) - Appearance (dark mode) - Roadmap (epic checklist with issue links) - Development (agentic process, 10-agent team, workflow, tech stack) - docs/static/: brand assets (logo.svg, favicon.svg), screenshots placeholder - docs/theme/custom.css: Cornerstone brand colors (blue-500 primary) - .github/workflows/docs.yml: builds and deploys to GitHub Pages on push to main - e2e/tests/screenshots/: Playwright screenshot capture script (seeds sample data, captures light/dark mode screenshots of all implemented pages) - README.md: slimmed down to lean pointer linking to docs site - .claude/agents/docs-writer.md: rewritten to own docs/ site as primary artifact - CLAUDE.md: updated agent table, project structure, delegation list, commands, added Documentation Site section - package.json: added docs workspace, docs:dev, docs:build, docs:screenshots scripts - eslint.config.js: added docs/** to global ignores - .prettierignore: added docs/ - .gitignore: added docs/.docusaurus/ - Dockerfile: added COPY docs/package.json docs/ in both builder and prod stages Fixes #200 Co-Authored-By: Claude docs-writer (Sonnet 4.6) <noreply@anthropic.com>
Resolves merge conflicts between docs site implementation (chore/200-docs-site) and beta branch changes (EPIC-05 budget rework, worktree isolation, e2e smoke CI): - CLAUDE.md: merged 10-agent team with Session Isolation, Post-merge E2E, and e2e:smoke command from beta; kept docs-writer delegation and docs site section - README.md: kept compact feature list (lean pointer approach) - e2e/package.json: combined test:smoke from beta with screenshots from HEAD - package-lock.json: regenerated with all workspaces (beta base + docs workspace) - .claude/agents/docs-writer.md: kept HEAD version (beta deleted it) Co-Authored-By: Claude orchestrator (Sonnet 4.6) <noreply@anthropic.com>
Fix format:check CI failure on CLAUDE.md, README.md, and docs-writer.md after merge conflict resolution introduced unformatted content. Co-Authored-By: Claude orchestrator (Sonnet 4.6) <noreply@anthropic.com>
Temporarily adds chore/200-docs-site to the docs.yml push trigger so the Docusaurus build can be verified in CI before merging. Deploy job is guarded by github.ref check and will only run from main. Will be reverted once build is confirmed. Co-Authored-By: Claude orchestrator (Sonnet 4.6) <noreply@anthropic.com>
prism-react-renderer uses 'docker' not 'dockerfile' as the language identifier. This caused the SSG phase of docusaurus build to fail with Cannot find module './prism-dockerfile'. Co-Authored-By: Claude docs-writer (Sonnet 4.6) <noreply@anthropic.com>
- first-login.md: correct relative links to admin-panel and oidc-setup (they live under /guides/users/, not /getting-started/) - budget/index.md: fix ../roadmap -> /roadmap (roadmap is at site root, not in /guides/) Co-Authored-By: Claude docs-writer (Sonnet 4.6) <noreply@anthropic.com>
Removes temporary feature branch trigger used for build verification. Docusaurus build confirmed passing in CI (run #22301120576). Co-Authored-By: Claude orchestrator (Sonnet 4.6) <noreply@anthropic.com>
Contributor
|
🎉 This PR is included in version 1.9.0-beta.45 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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
docs/workspace (@cornerstone/docs): Docusaurus 3.9.2 (Webpack-based, no native binaries) with 22 content pages across Guides and Development sidebars.github/workflows/docs.yml): builds and deploys tohttps://steilerDev.github.io/cornerstone/on every push tomainthat touchesdocs/**e2e/tests/screenshots/): seeds sample data, captures light/dark mode screenshots of all implemented pages, saves todocs/static/img/screenshots/docs-writeragent rewritten to own the docs site as its primary artifact, with README.md as secondaryDocumentation Structure
Technical Notes
docs/**excluded from project ESLint and Prettier (Docusaurus has its own TS/JSX setup)docs/.docusaurus/added to.gitignore(build cache)COPY docs/package.json docs/added to both builder and prod stages so npm workspace graph resolves correctlynpm run build) unchanged — docs workspace is standalone and not includedTest Plan
Quality GatesandDockerchecks passdocs.ymlworkflow builds successfully on GitHub Actions (validatesnpm run docs:build)npm run docs:screenshotsworks afternpm installCloses #200
🤖 Generated with Claude Code