You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: modernize theme, landing page, and API code samples (#5410)
## Summary
Comprehensive docs overhaul - theme, landing page, API code samples, and
polish.
### Theme (`docs/src/css/custom.css`)
- Inter + JetBrains Mono fonts
- Purple/teal palette, dark mode as default
- Frosted glass navbar, One Dark syntax highlighting
- Tighter sidebar with uppercase category labels
- Better tables: rounded corners, zebra striping, hover highlights
- Hide emoji icons on API category cards
### Landing page (`docs/src/pages/index.js`)
- Dark/light adaptive hero with gradient text
- Endpoint cards in 3-column grid
- Architecture diagram section
- Provider tags by category
- Compact community links
- Fully responsive
### API code samples (`scripts/openapi_generator/code_samples.py`)
- OpenAI Python SDK examples for all 38 stable endpoints via
`x-codeSamples`
- Postinstall patch to hide auto-generated http.client/requests when
custom samples exist
- Only Python (OpenAI) and curl tabs shown (removed Java, NodeJS)
- Fix Batches tag displayName (was showing full description)
### Content fixes
- Add File Processors, Admin, Rerank, Connectors to API overview grid
- Replace oversized buttons with inline links on docs index
### Docusaurus config
- Dark mode default with `respectPrefersColorScheme`
- One Dark code theme via prism-react-renderer
## Test plan
- [x] Previewed locally with `npx docusaurus start`
- [x] Light and dark modes both work
- [x] API code samples show OpenAI Python SDK
- [x] Tables render with new styling
- [x] Pre-commit passes
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Signed-off-by: Sébastien Han <seb@redhat.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/static/deprecated-llama-stack-spec.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -11315,7 +11315,7 @@ tags:
11315
11315
11316
11316
Note: This API is currently under active development and may undergo changes.
11317
11317
name: Batches
11318
-
x-displayName: The Batches API enables efficient processing of multiple requests in a single operation, particularly useful for processing large datasets, batch evaluation workflows, and cost-effective inference at scale.
11318
+
x-displayName: Batches
11319
11319
- description: ''
11320
11320
name: Benchmarks
11321
11321
- description: Protocol for conversation management operations.
0 commit comments