Skip to content

Commit ada2438

Browse files
arminazimiclaude
andauthored
docs: move the site to Mizzen and Lateen (#8)
* docs: move the site from Jekyll to Mizzen and Lateen Clean addresses (/MCP/) with a redirect from every old .html address; rule and answer pages keep their .html addresses through permalink. Pages, CI, site-budget and docs-doctor build with pinned Mizzen and Lateen 0.1.0. tools/site-urls.ts reads redirects from docs/mizzen.yml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * ci: rerun with the workflow-changes section in the PR body Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * ci: rerun with a Budget effect line the gate accepts Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * ci: rerun with the updated PR body Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * ci: rerun with Budget effect: none Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 847786e commit ada2438

108 files changed

Lines changed: 565 additions & 430 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.github/workflows/ci.yml‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -496,14 +496,14 @@ jobs:
496496
run: node dist/tools/build-dashboard-data.js --today run-date
497497
- name: Build docs/api/v1 for the site
498498
run: node dist/tools/build-data-api.js
499-
- uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0
500-
with:
501-
ruby-version: "3.3"
502-
bundler-cache: true
503-
working-directory: docs
499+
- name: Install the site tools
500+
run: |
501+
mkdir "$RUNNER_TEMP/site-tools"
502+
cd "$RUNNER_TEMP/site-tools"
503+
npm init -y >/dev/null
504+
npm install --no-audit --no-fund --save-exact @velella/mizzen@0.1.0 @velella/lateen@0.1.0
504505
- name: Build the documentation site
505-
working-directory: docs
506-
run: bundle exec jekyll build --baseurl ""
506+
run: $RUNNER_TEMP/site-tools/node_modules/.bin/mizzen build docs --theme "$RUNNER_TEMP/site-tools/node_modules/@velella/lateen" --out "$RUNNER_TEMP/site"
507507

508508
# The merge queue ignores `paths`, so `changes.site` decides whether the site jobs run. On a pull
509509
# request each workflow runs on its own `paths` filter instead; on main, pages.yml verifies the

‎.github/workflows/docs-doctor.yml‎

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: docs doctor
22

3-
# Runs Slipway's doctor on the documentation site and annotates the pull request
4-
# with each finding. Report-only (`level: none`) until the site is clean; then set
5-
# `level` to the level the site reaches so a regression fails review.
3+
# Runs `mizzen check` on the documentation site: a build in a temporary folder that reports every broken
4+
# link, undeclared placeholder, and navigation entry with a file and line. Errors fail the job; the
5+
# warnings (mostly links to repository files outside docs/) stay in the log until they are cleaned.
66
#
77
# Pull requests run it only when one of the paths below changed. The merge queue cannot filter by
88
# path, so ci.yml calls this workflow from its `merge_group` run when the queued change touches
@@ -26,24 +26,20 @@ concurrency:
2626

2727
jobs:
2828
doctor:
29-
name: slipway doctor (docs)
29+
name: mizzen check (docs)
3030
runs-on: ubuntu-latest
3131
timeout-minutes: 15
3232
steps:
3333
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
3434
with:
3535
persist-credentials: false
36-
- uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0
37-
with:
38-
ruby-version: "3.3"
39-
bundler-cache: true
40-
working-directory: docs
41-
- name: Build the documentation site
42-
working-directory: docs
43-
run: bundle exec jekyll build --baseurl "" --destination _site
44-
- name: Check the docs against the agent-editable site spec
45-
uses: arminazimi/slipway/action/doctor@559c4bb8cfc0ea8848d59e77dc85d8e77293d27c # v0.2.0
46-
with:
47-
path: docs
48-
build: docs/_site
49-
level: none
36+
- name: Install the site tools
37+
run: |
38+
mkdir "$RUNNER_TEMP/site-tools"
39+
cd "$RUNNER_TEMP/site-tools"
40+
npm init -y >/dev/null
41+
npm install --no-audit --no-fund --save-exact @velella/mizzen@0.1.0 @velella/lateen@0.1.0
42+
- name: Check the documentation site
43+
# Mizzen builds the site in a temporary folder and reports every broken link, placeholder, and
44+
# navigation entry. Errors fail the job; warnings stay in the log.
45+
run: $RUNNER_TEMP/site-tools/node_modules/.bin/mizzen check docs --theme "$RUNNER_TEMP/site-tools/node_modules/@velella/lateen"

‎.github/workflows/pages.yml‎

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,29 +33,30 @@ jobs:
3333
# Not committed: the page keeps a placeholder so corpus changes never conflict on its counts.
3434
run: node dist/tools/coverage-matrix.js --site
3535
- name: Build docs/llms-full.txt for the site
36-
# Not committed: generate here so Jekyll copies it into _site at the public URL.
36+
# Not committed: generate here so Mizzen copies it into _site at the public URL.
3737
run: node dist/tools/build-llms-full.js
3838
- name: Build docs/sitemap.xml and docs/rules/index.md for the site
3939
# Not committed: generate here so Search Console keeps /sitemap.xml without PR churn.
4040
run: node dist/tools/build-reference-pages.js --site
4141
- name: Build docs/dashboard/data.json for the site
42-
# Not committed: generate here so Jekyll copies it into _site at the public URL.
42+
# Not committed: generate here so Mizzen copies it into _site at the public URL.
4343
run: node dist/tools/build-dashboard-data.js --today run-date
4444
- name: Build docs/api/v1 for the site
45-
# Not committed: generate here so Jekyll copies it into _site at the public URL.
45+
# Not committed: generate here so Mizzen copies it into _site at the public URL.
4646
run: node dist/tools/build-data-api.js
47-
- uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0
48-
with:
49-
ruby-version: "3.3"
50-
bundler-cache: true
51-
working-directory: docs
47+
- name: Install the site tools
48+
# Mizzen builds the site and Lateen is its theme; both are pinned so a build never changes under us.
49+
run: |
50+
mkdir "$RUNNER_TEMP/site-tools"
51+
cd "$RUNNER_TEMP/site-tools"
52+
npm init -y >/dev/null
53+
npm install --no-audit --no-fund --save-exact @velella/mizzen@0.1.0 @velella/lateen@0.1.0
54+
- name: Check the documentation site
55+
# Errors fail the job; the warnings are links to repository files outside docs/, which GitHub resolves.
56+
run: $RUNNER_TEMP/site-tools/node_modules/.bin/mizzen check docs --theme "$RUNNER_TEMP/site-tools/node_modules/@velella/lateen"
5257
- name: Build the documentation site
53-
working-directory: docs
54-
env:
55-
JEKYLL_ENV: production
56-
PAGES_REPO_NWO: ${{ github.repository }}
57-
# Keep the deployed base path (/offing) so internal links match production.
58-
run: bundle exec jekyll build
58+
# Keep the deployed base path (/offing, set in docs/mizzen.yml) so internal links match production.
59+
run: $RUNNER_TEMP/site-tools/node_modules/.bin/mizzen build docs --theme "$RUNNER_TEMP/site-tools/node_modules/@velella/lateen" --out docs/_site
5960
- name: Upload the GitHub Pages artifact
6061
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
6162
with:

‎.github/workflows/site-budget.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,15 @@ jobs:
3434
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
3535
with:
3636
persist-credentials: false
37-
- uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0
38-
with:
39-
ruby-version: "3.3"
40-
bundler-cache: true
41-
working-directory: docs
37+
- name: Install the site tools
38+
run: |
39+
mkdir "$RUNNER_TEMP/site-tools"
40+
cd "$RUNNER_TEMP/site-tools"
41+
npm init -y >/dev/null
42+
npm install --no-audit --no-fund --save-exact @velella/mizzen@0.1.0 @velella/lateen@0.1.0
4243
- name: Build the documentation site
43-
working-directory: docs
44-
# The same Jekyll build as the docs job in ci.yml; staticDistDir points at its output.
45-
run: bundle exec jekyll build --baseurl ""
44+
# Mounted under the site's base path (/offing) so the absolute links resolve on the static server.
45+
run: $RUNNER_TEMP/site-tools/node_modules/.bin/mizzen build docs --theme "$RUNNER_TEMP/site-tools/node_modules/@velella/lateen" --out _serve/offing
4646
- uses: $/.github/actions/setup
4747
with:
4848
install: false

‎.gitignore‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ node_modules/
22
docs/vendor/
33
docs/_site/
44
docs/.bundle/
5-
docs/Gemfile.lock
65
docs/llms-full.txt
76
docs/sitemap.xml
87
docs/rules/index.md

‎AGENTS.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ Trust rules that apply to every change:
6868
|---|---|
6969
| `plugins/claude/`, `plugins/codex/`, `.claude-plugin/marketplace.json`, `.agents/plugins/marketplace.json` | `npm run build:plugins` (source: `skills/`) |
7070
| `dist/action/index.js` | `npm run build:action` (not committed on `main`; the Release workflow builds it onto the `release/<tag>` branch that release tags point at) |
71-
| `docs/llms-full.txt` | `npm run build:llms` (source: the pages linked from `docs/llms.txt`; gitignored — the Pages workflow builds it before Jekyll; no pull request commits it) |
72-
| `docs/sitemap.xml`, `docs/rules/index.md` | `npm run build:reference` / `node dist/tools/build-reference-pages.js --site` (source: `registry/*.json`; gitignored — Pages builds them before Jekyll; Search Console URL unchanged) |
73-
| `docs/dashboard/data.json` | `npm run build:dashboard` (source: `benchmarks/thresholds.json` and `benchmarks/public-repositories/`; gitignored — the Pages workflow builds it before Jekyll; no pull request commits it) |
74-
| `docs/api/v1/` | `npm run build:data-api` (source: `registry/*.json`; gitignored — the Pages workflow builds it before Jekyll; no pull request commits it) |
71+
| `docs/llms-full.txt` | `npm run build:llms` (source: the pages linked from `docs/llms.txt`; gitignored — the Pages workflow builds it before Mizzen; no pull request commits it) |
72+
| `docs/sitemap.xml`, `docs/rules/index.md` | `npm run build:reference` / `node dist/tools/build-reference-pages.js --site` (source: `registry/*.json`; gitignored — Pages builds them before Mizzen; Search Console URL unchanged) |
73+
| `docs/dashboard/data.json` | `npm run build:dashboard` (source: `benchmarks/thresholds.json` and `benchmarks/public-repositories/`; gitignored — the Pages workflow builds it before Mizzen; no pull request commits it) |
74+
| `docs/api/v1/` | `npm run build:data-api` (source: `registry/*.json`; gitignored — the Pages workflow builds it before Mizzen; no pull request commits it) |
7575
| `docs/rules/` (per-rule pages) | `npm run build:reference` (source: `registry/*.json`) |
7676
| `docs/assets/og/` | `npm run build:og-images` (source: `registry/*.json`, brand social-preview template) |
7777
| `docs/eol/` | `npm run build:answer-pages` (source: `registry/*.json`) |

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ Offing's findings are only as trustworthy as their sources.
158158
- **New ecosystems:** use the ecosystem request form, or the detector proposal form if you already know the matching boundaries. New detectors are built as an epic of small tasks, each starting from the generated skeleton (see [Add a new detector](#add-a-new-detector)).
159159
- **Importer candidates:** to have a package, project, or action checked for deprecations automatically, add its name to the matching candidate list in Ebb (see its [importers guide](https://github.com/velella-sh/ebb/blob/main/docs/IMPORTERS.md)).
160160
- **Docs and corpus improvements** are welcome without prior discussion.
161-
- **Check the docs site with Slipway's doctor:** pull requests that touch `docs/` run `slipway doctor` and annotate the changed lines (report-only for now). To run it locally, build the site (`cd docs && bundle exec jekyll build --baseurl ""`), then from a checkout of [arminazimi/slipway](https://github.com/arminazimi/slipway) at `v0.2.0` run `npm ci --omit=dev && node packages/doctor/bin/slipway.mjs doctor <path to offing>/docs --build <path to offing>/docs/_site`. The `slipway` package on npm is a different project, so `npx slipway` does not run the doctor yet.
161+
- **Check the docs site with Mizzen:** pull requests that touch `docs/` run `mizzen check docs`, which fails on errors (broken front matter, colliding redirects) and reports link warnings. To run it locally: `npm i @velella/mizzen @velella/lateen` in a scratch folder, then `mizzen check docs --theme <that folder>/node_modules/@velella/lateen`.
162162

163163
## Review expectations
164164

‎docs/.well-known/agent.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Local-first deprecation intelligence for software repositories. Finds end-of-life and deprecated runtimes, packages, and GitHub Actions at exact file locations, with authoritative sources and migration context. Runs on your machine as a stdio MCP server; scans never use the network.",
55
"version": "0.1.0",
66
"url": "https://velella.sh/offing/",
7-
"documentationUrl": "https://velella.sh/offing/MCP.html",
7+
"documentationUrl": "https://velella.sh/offing/MCP/",
88
"iconUrl": "https://velella.sh/offing/assets/brand/offing-mark-adaptive.svg",
99
"provider": {
1010
"organization": "arminazimi",

‎docs/.well-known/mcp.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "Evidence-backed deprecation and end-of-life checks for dependencies, runtimes, and Actions.",
55
"version": "0.1.0",
66
"websiteUrl": "https://velella.sh/offing/",
7-
"documentationUrl": "https://velella.sh/offing/MCP.html",
7+
"documentationUrl": "https://velella.sh/offing/MCP/",
88
"repository": {
99
"url": "https://github.com/velella-sh/offing",
1010
"source": "github"

‎docs/ADOPTION.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Search Console shows which pages people land on from search, but its API needs a
7777
```json
7878
{
7979
"pages": [
80-
{ "page": "https://velella.sh/offing/RULES.html", "clicks": 42, "impressions": 530 },
80+
{ "page": "https://velella.sh/offing/RULES/", "clicks": 42, "impressions": 530 },
8181
{ "page": "https://velella.sh/offing/eol/", "clicks": 18, "impressions": 410 }
8282
]
8383
}

0 commit comments

Comments
 (0)