Skip to content

fix(docs): Supported Endpoints page#17710

Merged
ishaan-jaff merged 1 commit into
BerriAI:mainfrom
Chesars:fix/supported-endpoints-link
Dec 10, 2025
Merged

fix(docs): Supported Endpoints page#17710
ishaan-jaff merged 1 commit into
BerriAI:mainfrom
Chesars:fix/supported-endpoints-link

Conversation

@Chesars
Copy link
Copy Markdown
Collaborator

@Chesars Chesars commented Dec 9, 2025

Title

Fix Supported Endpoints page showing SDK Functions instead of actual endpoints

Relevant issues

N/A

Pre-Submission checklist

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - N/A (docs-only change)
  • I have added a screenshot of my new test passing locally - N/A (docs-only change)
  • My PR passes all unit tests on make test-unit - N/A (docs-only change)
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix
📖 Documentation

Changes

The /docs/supported_endpoints page was incorrectly showing SDK Functions (completion(), embedding(), etc.) instead of the actual supported endpoints (/a2a, /audio, /batches, etc.).

Root cause: Docusaurus has a bug where internal links (/docs/...) inside a sidebar category can conflict with generated-index pages that have the same slug. The link in SDK Functions pointing to /docs/supported_endpoints was causing Docusaurus to associate that page with SDK Functions context.

Fix: Changed the link from relative (/docs/supported_endpoints) to absolute URL (https://docs.litellm.ai/docs/supported_endpoints). This makes Docusaurus treat it as an external link, avoiding the slug conflict with the generated-index.

Reference: facebook/docusaurus#11612

…s slug conflict

The relative link was causing Docusaurus to incorrectly associate the
/supported_endpoints page with SDK Functions category instead of the
actual Supported Endpoints generated-index.
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 9, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Dec 9, 2025 0:01am

@Chesars Chesars changed the title fix: Supported Endpoints page showing wrong items fix: Supported Endpoints page Dec 9, 2025
@Chesars Chesars changed the title fix: Supported Endpoints page fix(docs): Supported Endpoints page Dec 9, 2025
@ghost
Copy link
Copy Markdown

ghost commented Dec 9, 2025

this still doesn't fix the problem. when you click on 'all supported endpoints' - it doesn't open the page for all the proxy endpoints. it just shows me all the sdk functions (which is btw not comprehensive)

Screenshot 2025-12-09 at 8 18 15 AM

@Chesars
Copy link
Copy Markdown
Collaborator Author

Chesars commented Dec 9, 2025

this still doesn't fix the problem. when you click on 'all supported endpoints' - it doesn't open the page for all the proxy endpoints. it just shows me all the sdk functions (which is btw not comprehensive)

Screenshot 2025-12-09 at 8 18 15 AM

PR #17718 adds some documentation and fixes that.

@ishaan-jaff ishaan-jaff merged commit b4e0dab into BerriAI:main Dec 10, 2025
6 of 7 checks passed
@ishaan-jaff
Copy link
Copy Markdown
Contributor

oops so sorry I accidently merged this in, did not see you reviewed it @krrishdholakia

feel free to revert

Chesars pushed a commit to Chesars/litellm-docs that referenced this pull request May 14, 2026
v3.10.0 includes the fix for facebook/docusaurus#11612
(sidebar link vs generated-index slug conflict), which is the
underlying bug that BerriAI/litellm#17710 worked around.
Chesars added a commit to Chesars/litellm-docs that referenced this pull request May 16, 2026
Reverts the workaround from BerriAI/litellm#17710. The Docusaurus
slug-conflict bug is fixed in the new Docusaurus release, so the link
can go back to a relative URL.
Chesars added a commit to Chesars/litellm-docs that referenced this pull request May 16, 2026
v3.10.0 includes the fix for facebook/docusaurus#11612
(sidebar link vs generated-index slug conflict), which is the
underlying bug that BerriAI/litellm#17710 worked around.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants