Repository navigation
feat: Next.js docs site for Doubt - #1
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
@next/mdx, remark-gfm), static export, Biome, Yarn 1, Node 22. Same CI, PR-title and secret-scan workflows as doubt-site./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.mainand doubt-dashboard code, not from the old Mintlify pages.scripts/export-commands.mtsruns from a doubt-bot checkout. It reads discordx's own metadata and writesdata/commands.json(55 commands and 5 context menus; staff-only commands are left out).<CommandList>renders it. The README has the regenerate command.vercel.jsonmaps the old Mintlify paths (/introduction,/get-started/*,/guides/*,/legal/*,/reference/*) to the new pages.mainwas empty, so it now has a one-file initial commit for this PR to target.Verified
yarn build(20 static routes),yarn typecheckandyarn biome:cipass. Biome reports 8 CSS specificity warnings and no errors.Still to do (not in this PR)
docsCNAME (DNS only), thendoubtbot.eu/docs/*→docs.doubtbot.eu/*in doubt-site'svercel.json.Things the docs had to point out
[AFK]nicknames need Manage Nicknames, which also isn't in the invite. AFK works without it.Generated by Claude Code