docs: vendor the documentation site into the monorepo
Fold the standalone 3x-ui-docs project (Next.js 16 + Fumadocs, deployed to
docs.sanaei.dev) into docs/ so the panel and its documentation share a single
source of truth, the way sing-box keeps its docs in-tree. The old repo becomes
redundant and can be retired.
- Import the full site under docs/ (app, components, content, lib, public,
scripts, config). The self-contained pnpm project sits alongside the existing
engineering notes with no filename collisions.
- Re-point "Edit on GitHub" links from MHSanaei/3x-ui-docs to this repo's
docs/content/docs path (docs/lib/shared.ts, docs/app/.../page.tsx).
- Add docs-ci.yml and docs-deploy.yml under .github/workflows/, scoped to
docs/** and run with working-directory: docs, since GitHub only runs
workflows from the repo-root .github/. deploy-static.yml's GitHub Pages
publish (CNAME docs.sanaei.dev) carries over unchanged.
Follow-up (outside this commit): attach the docs.sanaei.dev custom domain to
this repository's Pages (or set the Vercel project's root directory to docs),
confirm the site is live from the monorepo, then delete MHSanaei/3x-ui-docs.
2026-07-07 14:07:14 -07:00
|
|
|
allowBuilds:
|
|
|
|
|
esbuild: true
|
|
|
|
|
sharp: true
|
|
|
|
|
unrs-resolver: true
|
|
|
|
|
# Force any vulnerable transitive postcss (pulled in by next) up to a patched
|
|
|
|
|
# release — fixes GHSA-qx2v-qp2m-jg93 / CVE-2026-41305 (vulnerable < 8.5.10).
|
|
|
|
|
overrides:
|
|
|
|
|
'postcss@<8.5.10': '^8.5.15'
|
2026-07-24 13:24:46 -07:00
|
|
|
'sharp@<0.35.0': '^0.35.3'
|
2026-10-23 15:25:48 -07:00
|
|
|
# @tailwindcss/node 4.3.3 pins 1.32.0, which rejects fumadocs-ui's ::highlight(fd-search).
|
|
|
|
|
'lightningcss@<1.33.0': '^1.33.0'
|
|
|
|
|
minimumReleaseAgeExcludePrune: true
|
docs: vendor the documentation site into the monorepo
Fold the standalone 3x-ui-docs project (Next.js 16 + Fumadocs, deployed to
docs.sanaei.dev) into docs/ so the panel and its documentation share a single
source of truth, the way sing-box keeps its docs in-tree. The old repo becomes
redundant and can be retired.
- Import the full site under docs/ (app, components, content, lib, public,
scripts, config). The self-contained pnpm project sits alongside the existing
engineering notes with no filename collisions.
- Re-point "Edit on GitHub" links from MHSanaei/3x-ui-docs to this repo's
docs/content/docs path (docs/lib/shared.ts, docs/app/.../page.tsx).
- Add docs-ci.yml and docs-deploy.yml under .github/workflows/, scoped to
docs/** and run with working-directory: docs, since GitHub only runs
workflows from the repo-root .github/. deploy-static.yml's GitHub Pages
publish (CNAME docs.sanaei.dev) carries over unchanged.
Follow-up (outside this commit): attach the docs.sanaei.dev custom domain to
this repository's Pages (or set the Vercel project's root directory to docs),
confirm the site is live from the monorepo, then delete MHSanaei/3x-ui-docs.
2026-07-07 14:07:14 -07:00
|
|
|
minimumReleaseAgeExclude:
|
2026-10-23 15:25:48 -07:00
|
|
|
- '@fumadocs/json-schema@0.3.5'
|
|
|
|
|
- '@next/env@16.4.3'
|
|
|
|
|
- '@next/swc-darwin-arm64@16.4.3'
|
|
|
|
|
- '@next/swc-darwin-x64@16.4.3'
|
|
|
|
|
- '@next/swc-linux-arm64-gnu@16.4.3'
|
|
|
|
|
- '@next/swc-linux-arm64-musl@16.4.3'
|
|
|
|
|
- '@next/swc-linux-x64-gnu@16.4.3'
|
|
|
|
|
- '@next/swc-linux-x64-musl@16.4.3'
|
|
|
|
|
- '@next/swc-win32-arm64-msvc@16.4.3'
|
|
|
|
|
- '@next/swc-win32-x64-msvc@16.4.3'
|
|
|
|
|
- fumadocs-mdx@15.4.10
|
|
|
|
|
- next@16.4.3
|