|
2 | 2 |
|
3 | 3 | ## 1. Project |
4 | 4 |
|
5 | | -- [x] 1.1 Create `docs-next/` as a standalone npm project (D1): `package.json` with `astro`, `@astrojs/starlight`, `@astrojs/markdown-satteri`, `sharp`, `starlight-blog`, `starlight-links-validator`, `starlight-llms-txt`, `lite-youtube-embed`, `js-yaml`, `github-slugger` (minors verified during exploration: Astro 7.3, Starlight 0.42, starlight-blog 0.30, starlight-links-validator 0.26, starlight-llms-txt 0.12), the scripts `predev`/`prebuild` (conversion) and `dev`/`build`/`preview` (`astro`), its own `package-lock.json`, `tsconfig.json` from `astro/tsconfigs/strict`, and a `.gitignore` for `node_modules/`, `dist/`, `.astro/`, `.generated/`, `src/content/docs/`, `src/assets/` and `public/`; verify that `npm ci` in `docs-next/` succeeds and that the root `package.json` `workspaces` still lists only `docs` |
| 5 | +- [x] 1.1 Create `docs-next/` as a standalone npm project (D1): `package.json` with `astro`, `@astrojs/starlight`, `@astrojs/markdown-satteri`, `starlight-blog`, `starlight-links-validator`, `starlight-llms-txt`, `lite-youtube-embed`, `js-yaml`, `github-slugger` (minors verified during exploration: Astro 7.3, Starlight 0.42, starlight-blog 0.30, starlight-links-validator 0.26, starlight-llms-txt 0.12), the scripts `predev`/`prebuild` (conversion) and `dev`/`build`/`preview` (`astro`), its own `package-lock.json`, `tsconfig.json` from `astro/tsconfigs/strict`, and a `.gitignore` for `node_modules/`, `dist/`, `.astro/`, `.generated/`, `src/content/docs/`, `src/assets/` and `public/`; verify that `npm ci` in `docs-next/` succeeds and that the root `package.json` `workspaces` still lists only `docs` |
6 | 6 | - [x] 1.2 Write `docs-next/astro.config.mjs` and `docs-next/src/content.config.ts` (D2, D5, D6, D7, D9): `site: "https://robotcode.io"`, Sätteri with `smartPunctuation: false` and `headingAttributes: true`, Starlight with title, logo, favicons, Open Graph image via `head`, social links (`github`, `seti:python`, `vscode`, `jetbrains`, `openCollective`), `lastUpdated: true`, table of contents levels 2–4, `customCss` (a stub `src/styles/custom.css` for now), Expressive Code with the Robot grammar from `../syntaxes/robotframework.tmLanguage.json` and the themes `material-theme-darker`/`material-theme-lighter`, the sidebar (`about`, Getting Started/Guides/Reference with `autogenerate`, `contributing`), `starlight-blog` (`prefix: "news"`, `title: "News"`, `navigation: "none"`, the global author), `starlight-links-validator` with the `exclude` of D6, `starlight-llms-txt` with `details` from `.generated/llms-index.md`, and the content schema extended with `blogSchema`; verified by the build in 2.2 |
7 | 7 | - [x] 1.3 Add skeletons of the hand-written pages in `docs-next/content/` (`index.mdx`, `getting-started/index.mdx` with the requirements marker, `guides/index.mdx`, `reference/index.mdx`) and of the not-found page `src/pages/404.astro`, each with title and description; verified by the build in 2.2 |
8 | 8 | - [x] 1.4 Add the root scripts `docs-next:install`, `docs-next:dev`, `docs-next:build`, `docs-next:preview` (`npm --prefix docs-next …`); verify each from the repository root once 2.2 builds |
|
29 | 29 | ## 5. Preview workflow, CI and isolation |
30 | 30 |
|
31 | 31 | - [x] 5.1 Write `docs-next/README.md`, the preview section in `CONTRIBUTING.md` and the `docs-next` entries in `AGENTS.md` (D10); verify that the commands they name work from a fresh clone on Node 22 |
32 | | -- [ ] 5.2 Add `.github/workflows/docs-next.yml` (build only, on changes to `docs/**`, `docs-next/**` and the workflow itself, Node 22, `ASTRO_TELEMETRY_DISABLED=1`) (D10); verify by running its steps locally (`npm ci` and `npm run build` in `docs-next/`) and, once pushed by the maintainer, by a green run |
| 32 | +- [x] 5.2 Add `.github/workflows/docs-next.yml` (build only, on changes to `docs/**`, `docs-next/**` and the workflow itself, Node 22, `ASTRO_TELEMETRY_DISABLED=1`) (D10); verify by running its steps locally (`npm ci` and `npm run build` in `docs-next/`) and, once pushed by the maintainer, by a green run |
33 | 33 | - [x] 5.3 Add `docs-next/**` to `paths-ignore` of `build-test-package-publish.yml`, `docs-next/` to `.vscodeignore` and `**/docs-next/` to the ignores of `eslint.config.mjs` (D10); verify that `npx @vscode/vsce ls` lists no file under `docs-next/` and that `npm run lint` does not lint `docs-next/` |
34 | 34 | - [x] 5.4 Add the page-map step and a `npm run docs-next:build` check to the documentation tasks of `doc-cli` (7.1), `library-keyword-set-declaration` (5.1) and `library-index` (8.1) (D10); verify with `openspec validate` for each of the three changes |
35 | 35 |
|
|
0 commit comments