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'
|
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-08-19 09:38:40 -07:00
|
|
|
- '@mermaid-js/parser@1.2.1'
|
|
|
|
|
- mermaid@11.17.0
|
|
|
|
|
- lucide-react@1.33.0
|
2026-08-06 08:59:23 -07:00
|
|
|
- postcss@8.5.26
|
chore(docs): bump dependencies and adapt to fumadocs-core 16.15.11
Updates the docs site's dependencies, including the Fumadocs packages,
Next 16.3.5, React 19.3 and three majors: mermaid 12, vitest 5 and
pnpm 12. Two code changes follow from the bump:
- fumadocs-core 16.15.11 makes `llms().index()` return a Promise, so
the llms.txt route now awaits it; tsc rejected the old synchronous
call
- lucide-react 1.46 renamed the BookMarked icon to BookBookmark. The
old name is still exported, but lucideIconsPlugin looks names up in
lucide's `icons` map, which only has the new one, so the Reference
section lost its sidebar icon in all four locales. The build only
printed a warning.
minimumReleaseAgeExclude gains entries for the newly installed
versions.
Checked with typecheck, lint, vitest (106 tests) and a full build: no
plugin warnings, and each locale's rendered /docs page contains the
book-bookmark icon.
2026-09-15 06:58:33 -07:00
|
|
|
- fumadocs-mdx@15.3.0 || 15.4.1
|
|
|
|
|
- '@fumadocs/api-docs@0.2.7 || 0.2.9'
|
2026-09-02 12:37:55 -07:00
|
|
|
- '@types/node@26.4.1'
|
chore(docs): bump dependencies and adapt to fumadocs-core 16.15.11
Updates the docs site's dependencies, including the Fumadocs packages,
Next 16.3.5, React 19.3 and three majors: mermaid 12, vitest 5 and
pnpm 12. Two code changes follow from the bump:
- fumadocs-core 16.15.11 makes `llms().index()` return a Promise, so
the llms.txt route now awaits it; tsc rejected the old synchronous
call
- lucide-react 1.46 renamed the BookMarked icon to BookBookmark. The
old name is still exported, but lucideIconsPlugin looks names up in
lucide's `icons` map, which only has the new one, so the Reference
section lost its sidebar icon in all four locales. The build only
printed a warning.
minimumReleaseAgeExclude gains entries for the newly installed
versions.
Checked with typecheck, lint, vitest (106 tests) and a full build: no
plugin warnings, and each locale's rendered /docs page contains the
book-bookmark icon.
2026-09-15 06:58:33 -07:00
|
|
|
- fumadocs-core@16.15.5 || 16.15.11
|
|
|
|
|
- fumadocs-openapi@11.4.0 || 11.4.3
|
|
|
|
|
- fumadocs-ui@16.15.5 || 16.15.11
|
|
|
|
|
- '@fumadocs/tailwind@0.1.2'
|
|
|
|
|
- '@fumari/image-size@0.1.1'
|
|
|
|
|
- '@fumari/stf@1.1.1'
|
|
|
|
|
- '@vitest/mocker@5.0.1'
|
|
|
|
|
- '@vitest/spy@5.0.1'
|
|
|
|
|
- fumadocs-docgen@3.1.1
|
|
|
|
|
- vitest@5.0.1
|