Skip to content

feat: Next.js docs site for Doubt - #1

Merged
zVapor-Dev merged 1 commit into
mainfrom
claude/project-thread-5efg25
Oct 28, 2026
Merged

zVapor-Dev merged 1 commit into
mainfrom
claude/project-thread-5efg25

Conversation

@zVapor-Dev

Copy link
Copy Markdown
Member

Requested by zVapor · project thread

The new docs for docs.doubtbot.eu, replacing the Mintlify site (which went offline when doubtbot.eu moved to doubt-site).

What's in it

  • Stack: Next.js 16.4.2 + MDX (@next/mdx, remark-gfm), static export, Biome, Yarn 1, Node 22. Same CI, PR-title and secret-scan workflows as doubt-site.
  • Layout: the Premier docs layout (sidebar, Ctrl K / / search over pages and sections, table of contents, mobile drawer, light/dark toggle) in Doubt's tokens and fonts (dark plum, violet to magenta, Syne/Manrope/JetBrains Mono). There's no editor or login: the Premier Authentik editor isn't carried over.
  • Content (16 pages): introduction, getting started, dashboard, the features (moderation and cases, AutoMod, tickets, welcome, levelling, economy, utility, reports, Premium), commands, permissions, security and data, and FAQ. Everything was written from the current doubt-bot main and doubt-dashboard code, not from the old Mintlify pages.
  • Commands are generated: scripts/export-commands.mts runs from a doubt-bot checkout. It reads discordx's own metadata and writes data/commands.json (55 commands and 5 context menus; staff-only commands are left out). <CommandList> renders it. The README has the regenerate command.
  • Legal: privacy and terms stay on doubtbot.eu, and the docs link there.
  • Redirects: vercel.json maps the old Mintlify paths (/introduction, /get-started/*, /guides/*, /legal/*, /reference/*) to the new pages.

main was empty, so it now has a one-file initial commit for this PR to target.

Verified

  • yarn build (20 static routes), yarn typecheck and yarn biome:ci pass. Biome reports 8 CSS specificity warnings and no errors.
  • Checked in a browser at 1440 and 390 px wide, in both themes. Covered: no horizontal scroll, search with Enter navigation, the mobile drawer and the 404 page.

Still to do (not in this PR)

  • The Vercel project and the docs CNAME (DNS only), then doubtbot.eu/docs/* → docs.doubtbot.eu/* in doubt-site's vercel.json.
  • Vercel Hobby won't deploy private org repos. The repo has to go public (like doubt-site), or the Vercel team needs a paid plan.

Things the docs had to point out

  • AutoMod needs Manage Server, but the invite doesn't ask for it. The docs tell admins to add it.
  • [AFK] nicknames need Manage Nicknames, which also isn't in the invite. AFK works without it.
  • Transcripts carry a note about message text until Discord approves Message Content.

Generated by Claude Code

Next.js 16 + MDX docs in the Premier docs layout with Doubt's colours and
fonts: sidebar, search, table of contents, light and dark themes, static
export for Vercel. Content rewritten for the TypeScript bot: getting
started, every feature, dashboard, commands (generated from the bot's
discordx metadata), permissions, security and data, FAQ. Old Mintlify
paths redirect to the new pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTq83KU7Z7RhQ55iosS7FR
@zVapor-Dev zVapor-Dev self-assigned this Oct 28, 2026
@zVapor-Dev
zVapor-Dev marked this pull request as ready for review October 28, 2026 04:38
@zVapor-Dev
zVapor-Dev merged commit 929bfe5 into main Oct 28, 2026
4 checks passed
@zVapor-Dev
zVapor-Dev deleted the claude/project-thread-5efg25 branch October 28, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants