Skip to content

feat(docs): Docusaurus site scaffold + Pages CI (PR #1/3)#39

Open
EtienneLescot wants to merge 3 commits into
mainfrom
feat/docs-scaffold
Open

feat(docs): Docusaurus site scaffold + Pages CI (PR #1/3)#39
EtienneLescot wants to merge 3 commits into
mainfrom
feat/docs-scaffold

Conversation

@EtienneLescot

@EtienneLescot EtienneLescot commented Jun 26, 2026

Copy link
Copy Markdown
Collaborator

Reintroduces the Docusaurus scaffold after PR #38 reverted the piggy-backed copy that landed via PR #36.

Three commits, in the order they were originally authored:

  • \c4d985f\ feat(docs): scaffold Docusaurus 3 site + GitHub Pages CI — minimal Docusaurus 3 site (TS config, Infima-tweaked theme, hero landing with WIP badge, intro doc), \docs.yml\ workflow (build on PR, deploy on push to main, concurrency group, minimal permissions), \postcss.config.cjs\ Tailwind override
  • \e6a6f08\ style(website): biome auto-format — mechanical biome pass on the scaffold files
  • \50dd22b\ ci(docs): pin actions to commit SHAs in docs.yml — pins actions/checkout, actions/setup-node, actions/upload-pages-artifact, actions/deploy-pages with version comments

PR #2 will polish the landing (real screenshots, bento grid, animations, Geist font, search local).
PR #3 will migrate \\docs/\\ to \\website/docs/\.

How to validate locally

\\\\\sh
cd website
npm install
npm run typecheck
npm run build
npm run serve # http://localhost:3000/openscreen/
\\\\\

Deploy setup (one-time, in repo Settings)

Settings -> Pages -> Source = GitHub Actions. Until that's set, the deploy job will fail on \main\ push but the build job will pass and the PR preview artifact will be downloadable.

First of three PRs for the docs site effort tracked in ROADMAP.md
(tier 'Site & documentation', see PR #32).

- website/: minimal Docusaurus 3 site (TS config, Infima-tweaked theme,
  hero landing with WIP badge, intro doc only).
- .github/workflows/docs.yml: build on PR, deploy to GitHub Pages on
  push to main. Concurrency group, minimal permissions.
- website/postcss.config.cjs: overrides the monorepo Tailwind config
  so Docusaurus CSS pipeline doesn't try to load Tailwind.

PR #2 will polish the landing (full bento, demo, footer polish).
PR #3 will migrate docs/ -> website/docs/.
Mechanical biome --write pass on the Docusaurus scaffolding files
introduced in cce4524. No behavior change; resolves CodeRabbit
formatting comments and unblocks the lint job.
Resolves the last remaining CodeRabbit review comment on PR #36.
Pins actions/checkout, actions/setup-node, actions/upload-pages-artifact,
and actions/deploy-pages to their current v4/v3 commit SHAs with inline
version comments for grep-ability.
@EtienneLescot

Copy link
Copy Markdown
Collaborator Author

@FabLrc previous PR was closed by error, so here is a new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant