fix: redirect broken /docs/features/speech-to-text link + rewrite upload_as_text docs (#539)

Closes #430 — adds redirect from /docs/features/speech-to-text to
/docs/configuration/stt_tts in next.config.mjs.

Also rewrites the upload_as_text.mdx page from scratch:
- Replaces AI-sounding boilerplate with direct, human language
- Uses fumadocs components: Steps, Tabs, Cards, Accordions, Callouts
- Adds practical decision guide table for choosing upload method
- Moves admin-only config into collapsible Accordions
- Restructures troubleshooting as expandable FAQs
- Keeps all technical accuracy (MIME matching, priority chain, etc.)
This commit is contained in:
Marco Beretta
2026-03-21 17:14:27 +01:00
committed by GitHub
parent 4113721ae1
commit 00586da525
2 changed files with 279 additions and 291 deletions

View File

@@ -58,6 +58,7 @@ const nonPermanentRedirects = [
['/docs/user_guides/rag_api', '/docs/features/rag_api'],
['/docs/user_guides/plugins', '/docs/features/agents'],
['/docs/features/plugins', '/docs/features/agents'],
['/docs/features/speech-to-text', '/docs/configuration/stt_tts'],
['/docs/configuration/librechat_yaml/setup', '/docs/configuration/librechat_yaml'],
['/toolkit/yaml_checker', '/toolkit/yaml-checker'],
['/toolkit/creds_generator', '/toolkit/creds-generator'],