Commit Graph
3 Commits
  • docs: add Discord bot to READMEs, architecture, operations guides, and locales (#6513)
    * docs: add Discord bot to READMEs, architecture, operations guides, and locales
    
    * docs: address review feedback on Discord bot formatting, backup commands, and architecture
    
    * docs(discord): fix Persian typo and literal arrows on fa/zh bot pages
    
    Senior review of #6513, two LOW findings in the two new pages:
    
    - fa/operations/discord-bot.mdx:30 spelled "developers" with Cyrillic
      "де" in place of Persian "ده", rendering a mixed-script word.
    - Both pages copied `$\rightarrow$` from the en page. The docs site has
      no math plugin (nothing in source.config.ts, no remark-math
      installed), so the built HTML shows the literal string
      "$\rightarrow$" in every menu path. Replaced with a Unicode arrow on
      fa and zh; en and ru have carried the same since #6486 and are left
      for a separate change.
    
    ---------
    
    Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
  • docs: add TUIC v5 to READMEs, guides, and protocol references (#6511)
    * docs: add TUIC v5 to READMEs, guides, and protocol references
    
    * docs: address review feedback on TUIC architecture, external links, and i18n parity
    
    * docs(tuic): drop the Xray-routing claim and qualify Limit IP for TUIC
    
    The README feature bullet in all seven locales credited the TUIC sidecar
    with "seamless Xray routing". A TUIC inbound never enters the Xray config
    (internal/web/service/xray.go skips model.TUIC) and the generated
    tuic-server config carries no forwarding target, so decrypted TUIC
    traffic egresses from the sidecar directly and Xray routing rules never
    see it; docs/architecture.md in this same branch already says so. An
    operator reading the bullet would expect geo blocking and outbound
    selection to cover TUIC clients.
    
    The client field table marks Total (GB) as inbound-level for TUIC but
    left Limit IP at "all". The IP-limit job's only data source is Xray's
    online-stats API (internal/web/job/check_client_ip_job.go), which TUIC
    clients never reach, so a Limit IP set on a TUIC client is silently
    unenforced. Qualify that row the same way in en, fa, ru and zh.
    
    ---------
    
    Co-authored-by: Sanaei <ho3ein.sanaei@gmail.com>
  • 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.