Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions docs/inference-providers/_toctree.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,22 @@
title: Pricing and Billing
- local: hub-integration
title: Hub integration
- local: register-as-a-provider
title: Register as an Inference Provider
- local: security
title: Security

- title: Guides
sections:
- local: guides/first-api-call
title: Your First API Call
- local: guides/building-first-app
title: Building Your First AI App
- local: guides/structured-output
title: Structured Outputs with LLMs
- local: guides/function-calling
title: Function Calling
- local: guides/gpt-oss
title: How to use OpenAI gpt-oss

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would also put the task guides (like "chat completion", "text-to-image") below the guides, rather than below the individual providers.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that would mean moving the API reference up? That's in here: 913c9d3

Copy link
Contributor

@NielsRogge NielsRogge Aug 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, technically I only consider the "index" and "hub API" to be API reference, those can indeed be the final section. However the "popular tasks" like "chat completion", "feature extraction" etc. aren't API reference to me (they explain the various tasks, so they belong to "guides" imo rather than "API reference")

Copy link
Collaborator Author

@burtenshaw burtenshaw Aug 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. That makes sense to me. I'll order it as you suggest and then hang on for another review, just because it's moved around a few times already.

it's in 77b8230

- title: Providers
sections:
- local: providers/cerebras
Expand Down Expand Up @@ -42,20 +53,6 @@
- local: providers/together
title: Together

- title: Guides
sections:
- local: guides/first-api-call
title: Your First API Call
- local: guides/building-first-app
title: Building Your First AI App
- local: guides/structured-output
title: Structured Outputs with LLMs
- local: guides/function-calling
title: Function Calling
- local: guides/gpt-oss
title: How to use OpenAI gpt-oss


- title: API Reference
sections:
- local: tasks/index
Expand All @@ -73,7 +70,7 @@
- local: tasks/text-to-video
title: Text to Video
- title: Other Tasks
isExpanded: false
isExpanded: true
sections:
- local: tasks/audio-classification
title: Audio Classification
Expand Down Expand Up @@ -106,4 +103,7 @@
- local: tasks/translation
title: Translation
- local: tasks/zero-shot-classification
title: Zero Shot Classification
title: Zero Shot Classification

- local: register-as-a-provider
title: Register as an Inference Provider