Commit Graph

20 Commits

Author SHA1 Message Date
MacRimi 4f3750a8ab Fix CI: add pagefind to web devDeps + portable AppImage cache path
Two regressions surfaced after the 1.2.2 release merge to main, both
in workflows that auto-trigger on push to main:

* Deploy to GitHub Pages — build failed with `pagefind: not found`
  (exit 127) after Next.js prerendered all 241 routes. pagefind was
  not declared in web/package.json; the local build only worked
  because the project root had its own package.json with pagefind
  as a devDep (the one we just gitignored in the previous commit).
  Add `pagefind: ^1.5.2` to web/package.json devDependencies and
  regenerate web/package-lock.json so `npm ci` in CI puts the
  binary at web/node_modules/.bin/pagefind.

* Build ProxMenux Monitor AppImage — failed at the first step with
  `mkdir: cannot create directory '/var/cache/proxmenux-build':
  Permission denied`. The cache path was hardcoded to /var/cache/,
  which is writable when the script runs as root (the .50 host
  manual build) but not as the unprivileged GitHub Actions runner.
  Switch to `${XDG_CACHE_HOME:-$HOME/.cache}/proxmenux-build/` —
  works identically in both environments.

Verified locally: `cd web && npm ci && npm run build` produces 2804
files in out/, 231 pages indexed by pagefind, root redirect intact.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-31 13:34:30 +02:00
MacRimi 5ca3463bf6 complete i18n migration to /[locale]/ with EN+ES content
Full rewrite of the docs site under app/[locale]/ with next-intl
in localePrefix:"always" mode. Every page now exists at both
/en/<path> and /es/<path>; the root / shows a meta-refresh + JS
redirect to /<defaultLocale>/ so GitHub Pages serves something
on the apex URL.

Highlights:
- 107 doc pages migrated to file-per-page JSON namespaces under
  messages/en/ and messages/es/. Spanish content is fully
  translated (no copy-of-English placeholders).
- New documentation for the Active Suppressions section in the
  Settings tab and the per-event Dismiss dropdown in the Health
  Monitor modal.
- New screenshots: dismiss-duration-dropdown.png and an updated
  health-suppression-settings.png.
- Pagefind integrated for client-side search; index is built on
  every CI deploy (not committed).
- RSS feeds: per-locale at /<locale>/rss.xml plus root /rss.xml
  for backward compat.
- Removed the dead app/[locale]/guides/[slug]/ route — every
  guide now has its own static page and no markdown source
  remains.
- Fixed orphan link /guides/nvidia -> /guides/nvidia-manual in
  docs/hardware/nvidia-host.
- Removed obsolete components (footer2, calendar, drawer).

Verified locally with `npm ci && npm run build`: 2804 files in
out/, 231 pages indexed by pagefind, root redirect intact, both
locale roots and the new Active Suppressions docs render OK.
2026-05-31 12:41:10 +02:00
MacRimi 185b0ba510 Update package.json 2025-02-15 17:31:37 +01:00
MacRimi 6d0362c62e Update package.json 2025-02-15 16:25:43 +01:00
MacRimi 1ba5585c05 Update package.json 2025-02-15 16:17:37 +01:00
MacRimi f5883d09a0 Update package.json 2025-02-15 15:23:18 +01:00
MacRimi 5da92a22a9 Update package.json 2025-02-14 19:49:38 +01:00
MacRimi 3480a43f93 Update package.json 2025-02-14 19:02:24 +01:00
MacRimi 2f58176b40 Update package.json 2025-02-14 18:57:47 +01:00
MacRimi 0d39dbcd63 Update package.json 2025-02-14 18:50:20 +01:00
MacRimi 3bf6070a66 Update package.json 2025-02-14 18:48:27 +01:00
MacRimi 040f562e90 Update package.json 2025-02-14 18:28:26 +01:00
MacRimi 7b9de69da6 update 2025-02-14 12:24:18 +01:00
MacRimi 31ae832dfe Update package.json 2025-02-14 12:11:01 +01:00
MacRimi 349e9f71f0 Update package.json 2025-02-14 11:50:51 +01:00
MacRimi e56b5a8470 Update package.json 2025-02-14 10:39:22 +01:00
MacRimi 990b2bf7de update 2025-02-13 23:04:40 +01:00
MacRimi f7d354e7de Update package.json 2025-02-13 21:18:59 +01:00
MacRimi d570f90af7 Update package.json 2025-02-13 20:44:47 +01:00
MacRimi 6a44aa0153 start web 2025-02-13 17:28:49 +01:00