docs: modernize theme, landing page, and API code samples#5410
Merged
leseb merged 5 commits intoogx-ai:mainfrom Apr 1, 2026
Merged
docs: modernize theme, landing page, and API code samples#5410leseb merged 5 commits intoogx-ai:mainfrom
leseb merged 5 commits intoogx-ai:mainfrom
Conversation
Theme: - Inter + JetBrains Mono fonts, purple/teal palette - Dark mode as default, frosted glass navbar - One Dark syntax highlighting, better tables with rounded corners - Tighter sidebar with uppercase category labels Landing page: - Dark/light adaptive hero with gradient text - Endpoint cards, architecture diagram, provider tags - Fully responsive API code samples: - Add OpenAI Python SDK examples for all 38 endpoints via x-codeSamples - Patch plugin to hide auto-generated http.client/requests when custom samples exist - Remove Java and NodeJS language tabs - Fix Batches tag displayName Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sébastien Han <seb@redhat.com>
Smaller padding, radius, icons, and text for the bottom link cards. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sébastien Han <seb@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sébastien Han <seb@redhat.com>
Add Admin, Rerank, File Processors, and Connectors to the experimental APIs section. These were in the sidebar but missing from the overview grid. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sébastien Han <seb@redhat.com>
…overview Hide the document emoji icons on API category pages. Add File Processors, Admin, Rerank, and Connectors to the experimental APIs overview grid. Replace oversized buttons with inline links on docs index. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Sébastien Han <seb@redhat.com>
Contributor
✱ Stainless preview buildsThis PR will update the
|
Collaborator
Author
Collaborator
Author
Collaborator
Author
4 tasks
franciscojavierarceo
approved these changes
Apr 1, 2026
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Apr 2, 2026
… links (#5411) ## Summary Comprehensive documentation fix addressing 12 issues found by cross-referencing docs against the current codebase. The docs had drifted significantly from the code, particularly around the agents-to-responses migration, provider registry changes, and API stability levels. - **API overview**: add missing APIs (Responses, Shields, Tools, Connectors, File Processors), fix stability levels (Datasets/DatasetIO are v1beta not v1alpha, Shields are stable not deprecated) - **Sidebar navigation**: remove Post Training category and sambanova-openai-compat (no longer in registry), add missing provider pages (responses, file_processors, inline_transformers, remote_oci, remote_llama-cpp-server, remote_passthrough, remote_openai) - **Stale provider pages**: delete docs for removed providers (remote_llama-cpp, remote_llama-server, remote_sambanova-openai-compat, inline_rag-runtime) - **Tools docs**: fix false claim that /v1/tools was removed, update RAG references from inline::rag-runtime to inline::file-search - **Configuration docs**: fix CLI syntax (positional arg not --config), update sample config from agents to responses - **Kubernetes configs**: update from agents to responses, replace inline::rag-runtime with inline::file-search - **Experimental APIs page**: rewrite to reflect actual v1alpha/v1beta APIs, remove stale 2024 roadmap - **Broken links**: fix relative paths in concepts/index, CLI reference, file operations docs - **CLI reference**: close unclosed code block - **SDK reference**: add deprecation notes for Agents and PostTraining sections - **Missing notebook**: remove link to non-existent Llama_Stack_Benchmark_Evals.ipynb > **Note**: `docs/docs/api-overview.mdx` overlaps with #5410. If that PR merges first, a trivial conflict resolution will be needed on that file (both PRs make the same type of corrections). ## Test plan - [ ] Run `npx docusaurus build` in docs/ to verify no broken links or build errors - [ ] Verify sidebar navigation shows all current providers - [ ] Verify stale provider pages are removed - [ ] Spot-check internal links resolve correctly 🤖 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>
leseb
added a commit
to leseb/ogx
that referenced
this pull request
Apr 2, 2026
… links (ogx-ai#5411) ## Summary Comprehensive documentation fix addressing 12 issues found by cross-referencing docs against the current codebase. The docs had drifted significantly from the code, particularly around the agents-to-responses migration, provider registry changes, and API stability levels. - **API overview**: add missing APIs (Responses, Shields, Tools, Connectors, File Processors), fix stability levels (Datasets/DatasetIO are v1beta not v1alpha, Shields are stable not deprecated) - **Sidebar navigation**: remove Post Training category and sambanova-openai-compat (no longer in registry), add missing provider pages (responses, file_processors, inline_transformers, remote_oci, remote_llama-cpp-server, remote_passthrough, remote_openai) - **Stale provider pages**: delete docs for removed providers (remote_llama-cpp, remote_llama-server, remote_sambanova-openai-compat, inline_rag-runtime) - **Tools docs**: fix false claim that /v1/tools was removed, update RAG references from inline::rag-runtime to inline::file-search - **Configuration docs**: fix CLI syntax (positional arg not --config), update sample config from agents to responses - **Kubernetes configs**: update from agents to responses, replace inline::rag-runtime with inline::file-search - **Experimental APIs page**: rewrite to reflect actual v1alpha/v1beta APIs, remove stale 2024 roadmap - **Broken links**: fix relative paths in concepts/index, CLI reference, file operations docs - **CLI reference**: close unclosed code block - **SDK reference**: add deprecation notes for Agents and PostTraining sections - **Missing notebook**: remove link to non-existent Llama_Stack_Benchmark_Evals.ipynb > **Note**: `docs/docs/api-overview.mdx` overlaps with ogx-ai#5410. If that PR merges first, a trivial conflict resolution will be needed on that file (both PRs make the same type of corrections). ## Test plan - [ ] Run `npx docusaurus build` in docs/ to verify no broken links or build errors - [ ] Verify sidebar navigation shows all current providers - [ ] Verify stale provider pages are removed - [ ] Spot-check internal links resolve correctly 🤖 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>
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.



Summary
Comprehensive docs overhaul - theme, landing page, API code samples, and polish.
Theme (
docs/src/css/custom.css)Landing page (
docs/src/pages/index.js)API code samples (
scripts/openapi_generator/code_samples.py)x-codeSamplesContent fixes
Docusaurus config
respectPrefersColorSchemeTest plan
npx docusaurus start🤖 Generated with Claude Code