mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-06-01 04:54:42 +00:00
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.
This commit is contained in:
+22
-17
@@ -3,10 +3,14 @@
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"sync:scripts": "rm -rf public/scripts && rsync -a ../scripts/ public/scripts/",
|
||||
"predev": "npm run sync:scripts",
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"prebuild": "npm run sync:scripts",
|
||||
"build": "next build && pagefind --site out --output-path public/pagefind && cp -r public/pagefind out/pagefind",
|
||||
"start": "next start",
|
||||
"lint": "next lint"
|
||||
"lint": "next lint",
|
||||
"index": "pagefind --site out --output-path public/pagefind && cp -r public/pagefind out/pagefind"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hookform/resolvers": "^3.9.1",
|
||||
@@ -43,31 +47,32 @@
|
||||
"cmdk": "1.0.4",
|
||||
"date-fns": "^2.30.0",
|
||||
"embla-carousel-react": "8.5.1",
|
||||
"fs": "latest",
|
||||
"gray-matter": "^4.0.3",
|
||||
"html-react-parser": "^3.0.0",
|
||||
"input-otp": "1.4.1",
|
||||
"lucide-react": "^0.454.0",
|
||||
"next": "14.2.16",
|
||||
"mermaid": "^11.14.0",
|
||||
"next": "15.5.15",
|
||||
"next-intl": "^4.12.0",
|
||||
"next-themes": "^0.4.4",
|
||||
"react": "^18",
|
||||
"react-dom": "^18",
|
||||
"react-day-picker": "^8.10.1",
|
||||
"path": "latest",
|
||||
"react": "^19",
|
||||
"react-dom": "^19",
|
||||
"react-hook-form": "^7.54.1",
|
||||
"react-markdown": "^9.0.0",
|
||||
"react-resizable-panels": "^2.1.7",
|
||||
"recharts": "2.15.0",
|
||||
"remark": "latest",
|
||||
"remark-breaks": "3.0.0",
|
||||
"remark-gfm": "^4.0.0",
|
||||
"remark-html": "latest",
|
||||
"shiki": "^4.0.2",
|
||||
"sonner": "^1.7.1",
|
||||
"tailwind-merge": "^2.5.5",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"vaul": "^0.9.6",
|
||||
"zod": "^3.24.1",
|
||||
"fs": "latest",
|
||||
"path": "latest",
|
||||
"remark": "latest",
|
||||
"remark-html": "latest",
|
||||
"react-markdown": "^9.0.0",
|
||||
"remark-gfm": "^4.0.0",
|
||||
"unified": "^11.0.0",
|
||||
"remark-breaks": "3.0.0",
|
||||
"gray-matter": "^4.0.3",
|
||||
"html-react-parser": "^3.0.0"
|
||||
"zod": "^3.24.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/typography": "^0.5.10",
|
||||
|
||||
Reference in New Issue
Block a user