feat(web): public /docs page with command reference generated from the bot #48

Merged
ellamizuki merged 1 commit from feat/public-docs-page into main 2026-09-11 05:14:01 +00:00
ellamizuki commented 2026-09-11 05:08:59 +00:00 (Migrated from github.com)

Adds a public documentation area under /docs (no auth) for the bot: overview, searchable command reference and per-system guides.

The command catalog is generated from the real SlashCommandBuilders (apps/bot/scripts/export-commands.ts, pnpm docs:sync) instead of being hand-written, so names, pt-BR localizations, options, choices and permission requirements always match what the bot actually registers. The docs page renders that catalog grouped by category with auto-generated usage examples, option tables, subcommand blocks and permission badges, plus client-side search and a category filter (deep-linkable via ?categoria=).

The /extras pages stay untouched for existing links.

Adds a public documentation area under /docs (no auth) for the bot: overview, searchable command reference and per-system guides. The command catalog is generated from the real SlashCommandBuilders (apps/bot/scripts/export-commands.ts, pnpm docs:sync) instead of being hand-written, so names, pt-BR localizations, options, choices and permission requirements always match what the bot actually registers. The docs page renders that catalog grouped by category with auto-generated usage examples, option tables, subcommand blocks and permission badges, plus client-side search and a category filter (deep-linkable via ?categoria=). The /extras pages stay untouched for existing links.
Sign in to join this conversation.
No description provided.