From d9417f70bbbc6f868d53831bab191faaf8c59e6b Mon Sep 17 00:00:00 2001 From: berri-teddy Date: Sun, 21 Sep 2025 20:31:45 -0700 Subject: [PATCH] Re-ordered sidebars in docs --- docs/my-website/sidebars.js | 352 +++++++++++++++++++----------------- 1 file changed, 190 insertions(+), 162 deletions(-) diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js index fe6dbc27290..3750915b191 100644 --- a/docs/my-website/sidebars.js +++ b/docs/my-website/sidebars.js @@ -57,31 +57,31 @@ const sidebars = { type: "category", label: "Alerting & Monitoring", items: [ - "proxy/prometheus", "proxy/alerting", - "proxy/pagerduty" - ].sort() + "proxy/pagerduty", + "proxy/prometheus" + ] }, { type: "category", label: "[Beta] Prompt Management", items: [ - "proxy/prompt_management", + "proxy/custom_prompt_management", "proxy/native_litellm_prompt", - "proxy/custom_prompt_management" - ].sort() + "proxy/prompt_management" + ] }, { type: "category", label: "AI Tools (OpenWebUI, Claude Code, etc.)", items: [ - "tutorials/openweb_ui", - "tutorials/openai_codex", - "tutorials/litellm_gemini_cli", - "tutorials/litellm_qwen_code_cli", - "tutorials/github_copilot_integration", "tutorials/claude_responses_api", "tutorials/cost_tracking_coding", + "tutorials/github_copilot_integration", + "tutorials/litellm_gemini_cli", + "tutorials/litellm_qwen_code_cli", + "tutorials/openai_codex", + "tutorials/openweb_ui" ] }, @@ -111,41 +111,63 @@ const sidebars = { label: "Setup & Deployment", items: [ "proxy/quick_start", - "proxy/deploy", - "proxy/prod", "proxy/cli", - "proxy/release_cycle", - "proxy/model_management", - "proxy/health", "proxy/debugging", + "proxy/deploy", + "proxy/health", "proxy/master_key_rotations", + "proxy/model_management", + "proxy/prod", + "proxy/release_cycle", ], }, "proxy/demo", + { + type: "category", + label: "Admin UI", + items: [ + "proxy/admin_ui_sso", + "proxy/custom_root_ui", + "proxy/custom_sso", + "proxy/model_hub", + "proxy/public_teams", + "proxy/self_serve", + "proxy/ui", + "proxy/ui/bulk_edit_users", + "proxy/ui_credentials", + "tutorials/scim_litellm", + { + type: "category", + label: "UI Logs", + items: [ + "proxy/ui_logs", + "proxy/ui_logs_sessions" + ] + } + ], + }, { type: "category", label: "Architecture", - items: ["proxy/architecture", "proxy/control_plane_and_data_plane", "proxy/db_info", "proxy/db_deadlocks", "router_architecture", "proxy/user_management_heirarchy", "proxy/jwt_auth_arch", "proxy/image_handling", "proxy/spend_logs_deletion"], + items: [ + "proxy/architecture", + "proxy/control_plane_and_data_plane", + "proxy/db_deadlocks", + "proxy/db_info", + "proxy/image_handling", + "proxy/jwt_auth_arch", + "proxy/spend_logs_deletion", + "proxy/user_management_heirarchy", + "router_architecture" + ], }, { type: "link", label: "All Endpoints (Swagger)", href: "https://litellm-api.up.railway.app/", }, - "proxy/enterprise", - "proxy/management_cli", - { - type: "category", - label: "Making LLM Requests", - items: [ - "proxy/user_keys", - "proxy/clientside_auth", - "proxy/request_headers", - "proxy/response_headers", - "proxy/forward_client_headers", - "proxy/model_discovery", - ], - }, + "proxy/enterprise", + "proxy/management_cli", { type: "category", label: "Authentication", @@ -163,45 +185,25 @@ const sidebars = { }, { type: "category", - label: "Model Access", + label: "Budgets + Rate Limits", items: [ - "proxy/model_access", - "proxy/team_model_add" - ] - }, - { - type: "category", - label: "Admin UI", - items: [ - "proxy/ui", - "proxy/admin_ui_sso", - "proxy/custom_root_ui", - "proxy/model_hub", - "proxy/self_serve", - "proxy/public_teams", - "tutorials/scim_litellm", - "proxy/custom_sso", - "proxy/ui_credentials", - "proxy/ui/bulk_edit_users", - { - type: "category", - label: "UI Logs", - items: [ - "proxy/ui_logs", - "proxy/ui_logs_sessions" - ] - } + "proxy/customers", + "proxy/dynamic_rate_limit", + "proxy/rate_limit_tiers", + "proxy/team_budgets", + "proxy/temporary_budget_increase", + "proxy/users" ], }, + "proxy/caching", { type: "category", - label: "Spend Tracking", - items: ["proxy/cost_tracking", "proxy/custom_pricing", "proxy/billing",], - }, - { - type: "category", - label: "Budgets + Rate Limits", - items: ["proxy/users", "proxy/temporary_budget_increase", "proxy/rate_limit_tiers", "proxy/team_budgets", "proxy/dynamic_rate_limit", "proxy/customers"], + label: "Create Custom Plugins", + description: "Modify requests, responses, and more", + items: [ + "proxy/call_hooks", + "proxy/rules", + ] }, { type: "link", @@ -212,13 +214,32 @@ const sidebars = { type: "category", label: "Logging, Alerting, Metrics", items: [ + "proxy/dynamic_logging", "proxy/logging", "proxy/logging_spec", - "proxy/team_logging", - "proxy/dynamic_logging" + "proxy/team_logging" ], }, - + { + type: "category", + label: "Making LLM Requests", + items: [ + "proxy/user_keys", + "proxy/clientside_auth", + "proxy/request_headers", + "proxy/response_headers", + "proxy/forward_client_headers", + "proxy/model_discovery", + ], + }, + { + type: "category", + label: "Model Access", + items: [ + "proxy/model_access", + "proxy/team_model_add" + ] + }, { type: "category", label: "Secret Managers", @@ -229,14 +250,13 @@ const sidebars = { }, { type: "category", - label: "Create Custom Plugins", - description: "Modify requests, responses, and more", + label: "Spend Tracking", items: [ - "proxy/call_hooks", - "proxy/rules", - ] + "proxy/billing", + "proxy/cost_tracking", + "proxy/custom_pricing" + ], }, - "proxy/caching", ] }, { @@ -250,6 +270,23 @@ const sidebars = { slug: "/supported_endpoints", }, items: [ + "assistants", + { + type: "category", + label: "/audio", + items: [ + "audio_transcription", + "text_to_speech", + ] + }, + { + type: "category", + label: "/batches", + items: [ + "batches", + "proxy/managed_batches", + ] + }, { type: "category", label: "/chat/completions", @@ -266,57 +303,8 @@ const sidebars = { "completion/http_handler_config", ], }, - "response_api", "text_completion", "embedding/supported_embedding", - "anthropic_unified", - "mcp", - "generateContent", - { - type: "category", - label: "/images", - items: [ - "image_generation", - "image_edits", - "image_variations", - ] - }, - { - type: "category", - label: "/audio", - "items": [ - "audio_transcription", - "text_to_speech", - ] - }, - { - type: "category", - label: "/vector_stores", - items: [ - "vector_stores/search", - ] - }, - { - type: "category", - label: "Pass-through Endpoints (Anthropic SDK, etc.)", - items: [ - "pass_through/intro", - "pass_through/vertex_ai", - "pass_through/google_ai_studio", - "pass_through/cohere", - "pass_through/vllm", - "pass_through/mistral", - "pass_through/openai_passthrough", - "pass_through/anthropic_completion", - "pass_through/bedrock", - "pass_through/assembly_ai", - "pass_through/langfuse", - "proxy/pass_through", - ], - }, - "rerank", - "assistants", - { type: "category", label: "/files", @@ -325,15 +313,6 @@ const sidebars = { "proxy/litellm_managed_files", ], }, - { - type: "category", - label: "/batches", - items: [ - "batches", - "proxy/managed_batches", - ] - }, - "realtime", { type: "category", label: "/fine_tuning", @@ -342,8 +321,48 @@ const sidebars = { "proxy/managed_finetuning", ] }, + "generateContent", + "apply_guardrail", + { + type: "category", + label: "/images", + items: [ + "image_edits", + "image_generation", + "image_variations", + ] + }, + "mcp", "moderation", - "apply_guardrail", + { + type: "category", + label: "Pass-through Endpoints (Anthropic SDK, etc.)", + items: [ + "pass_through/intro", + "pass_through/anthropic_completion", + "pass_through/assembly_ai", + "pass_through/bedrock", + "pass_through/cohere", + "pass_through/google_ai_studio", + "pass_through/langfuse", + "pass_through/mistral", + "pass_through/openai_passthrough", + "pass_through/vertex_ai", + "pass_through/vllm", + "proxy/pass_through" + ] + }, + "realtime", + "rerank", + "response_api", + "anthropic_unified", + { + type: "category", + label: "/vector_stores", + items: [ + "vector_stores/search", + ] + }, ], }, { @@ -499,33 +518,32 @@ const sidebars = { type: "category", label: "Guides", items: [ - "exception_mapping", + "completion/audio", + "completion/batching", + "completion/computer_use", + "completion/document_understanding", + "completion/drop_params", + "completion/function_call", + "completion/image_generation_chat", + "completion/json_mode", + "completion/knowledgebase", + "completion/message_trimming", + "completion/model_alias", + "completion/mock_requests", + "completion/predict_outputs", + "completion/prefix", + "completion/prompt_caching", + "completion/prompt_formatting", + "completion/reliable_completions", + "completion/stream", "completion/provider_specific_params", + "completion/vision", + "completion/web_search", + "exception_mapping", "guides/finetuned_models", "guides/security_settings", - "completion/audio", - "completion/image_generation_chat", - "completion/web_search", - "completion/document_understanding", - "completion/vision", - "completion/json_mode", - "reasoning_content", - "completion/computer_use", - "completion/prompt_caching", - "completion/predict_outputs", - "completion/knowledgebase", - "completion/prefix", - "completion/drop_params", - "completion/prompt_formatting", - "completion/stream", - "completion/message_trimming", - "completion/function_call", - "completion/model_alias", - "completion/batching", - "completion/mock_requests", - "completion/reliable_completions", "proxy/veo_video_generation", - + "reasoning_content" ] }, @@ -538,25 +556,35 @@ const sidebars = { description: "Learn how to load balance, route, and set fallbacks for your LLM requests", slug: "/routing-load-balancing", }, - items: ["routing", "scheduler", "proxy/load_balancing", "proxy/reliability", "proxy/timeout", "proxy/auto_routing", "proxy/tag_routing", "proxy/provider_budget_routing", "wildcard_routing"], + items: [ + "routing", + "scheduler", + "proxy/auto_routing", + "proxy/load_balancing", + "proxy/provider_budget_routing", + "proxy/reliability", + "proxy/tag_routing", + "proxy/timeout", + "wildcard_routing" + ], }, { type: "category", label: "LiteLLM Python SDK", items: [ "set_keys", - "completion/token_usage", - "sdk_custom_pricing", - "embedding/async_embedding", - "embedding/moderation", "budget_manager", "caching/all_caches", + "completion/token_usage", + "embedding/async_embedding", + "embedding/moderation", "migration", + "sdk_custom_pricing", { type: "category", label: "LangChain, LlamaIndex, Instructor Integration", items: ["langchain/langchain", "tutorials/instructor"], - }, + } ], },