How ovh/ovhcloud-docs works
OVHcloud Guides is a multilingual Rspress documentation site with custom page experiences and reusable MDX widgets. The reader workflow is to navigate localized guides, follow product-specific instructions and links, and use optional search, AI, or PDF features. Its internal configuration supports locale-aware routing, generated sidebars, centralized Control Panel destinations, and reusable API/Manager controls. The README documents several capabilities whose runtime wiring is not in the excerpts; those relationships are shown only where explicitly documented, and unsampled implementation details are omitted.
Main entry points: sidebar/index.ts Sidebar builder · theme/index.tsx Custom theme · cpnav/index.ts CP navigation registry · Api/index.tsx API console widget
Components 17
Site experience
- Custom theme
theme/index.tsx - Locale settings
config/regions.ts - Page layouts
theme/layouts/OverviewLayout/index.tsx
Guide navigation
- Sidebar builder
config/sidebar/index.ts - Sidebar parser
config/sidebar/parser.ts - CP navigation registry
config/cpnav/index.ts - CP navigation model
config/cpnav/types.ts - Localized links
config/links.ts
Guide widgets
- API console widget
components/Api/index.tsx - Zone and region state
components/Api/RegionContext.tsx - Manager links
components/ManagerLink/ManagerLink.tsx
Reader tools
- AI assistant
components/AIChatbot/index.tsx - Assistant drawer
theme/components/AIChatbotDrawer/index.tsx - Pagefind search
theme/components/PagefindSearch/index.tsx - PDF download
theme/components/PdfDownloadButton/index.tsx - Analytics
components/Analytics/index.tsx
Other components
- Guide reader
Connections 18
- Guide reader → Custom theme: views guides
README.md - Custom theme → Locale settings: serves locales
- Sidebar builder → Sidebar parser: parses sidebar
config/sidebar/index.ts - Sidebar builder → Locale settings: uses region config
config/sidebar/index.ts - Sidebar builder → Guide reader: provides navigation
README.md - Guide reader → CP navigation registry: follows destinations
- CP navigation registry → CP navigation model: uses key model
config/cpnav/types.ts - Guide reader → Localized links: follows localized links
README.md - API console widget → Zone and region state: reads region state
components/Api/index.tsx - Manager links → Zone and region state: reads region state
components/ManagerLink/ManagerLink.tsx - Guide reader → API console widget: uses embedded widgets
- Guide reader → Manager links: opens Manager
- Guide reader → AI assistant: asks questions
- AI assistant → Assistant drawer: opens assistant UI
- Guide reader → Pagefind search: searches guides
- Guide reader → PDF download: downloads guides
- Custom theme → Page layouts: renders page types
- Guide reader → Analytics: generates usage data