Skip to content

Commit

Permalink
Fix sidebar (#168)
Browse files Browse the repository at this point in the history
* Move v2s to top

* Fix endpoints layout

* Hide

* v1

---------

Signed-off-by: billytrend-cohere <[email protected]>
  • Loading branch information
billytrend-cohere authored Sep 27, 2024
1 parent f731653 commit 165f956
Showing 1 changed file with 27 additions and 28 deletions.
55 changes: 27 additions & 28 deletions fern/v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ navigation:
python: "cohere"
typescript: "cohere-ai"
layout:
- section: Beta
- section: Endpoints
skip-slug: true
contents:
- section: "v2/chat"
Expand All @@ -580,16 +580,10 @@ navigation:
- endpoint: STREAM /v2/chat
slug: chat-stream-v2
title: Chat with Streaming
- section: Stable
skip-slug: true
contents:
- section: "v1/chat"
- section: "v2/rerank"
skip-slug: true
contents:
- endpoint: POST /v1/chat
title: Chat Non-streaming
- endpoint: STREAM /v1/chat
title: Chat Streaming
- POST /v2/rerank
- section: "v2/embed"
skip-slug: true
contents:
Expand All @@ -606,10 +600,6 @@ navigation:
slug: get-embed-job
- endpoint: POST /v1/embed-jobs/{id}/cancel
slug: cancel-embed-job
- section: "v2/rerank"
skip-slug: true
contents:
- POST /v2/rerank
- section: "v1/classify"
skip-slug: true
contents:
Expand Down Expand Up @@ -678,35 +668,44 @@ navigation:
slug: listevents
- endpoint: GET /v1/finetuning/finetuned-models/{finetuned_model_id}/training-step-metrics
slug: listtrainingstepmetrics
- section: Legacy
skip-slug: true
contents:
- section: "v1/embed"
- section: "v1/chat"
hidden: true
skip-slug: true
contents:
- POST /v1/embed
- section: "v1/rerank"
- endpoint: POST /v1/chat
slug: chat-v1
title: Chat
- endpoint: STREAM /v1/chat
slug: chat-stream-v1
title: Chat with Streaming
- section: "v1/generate"
hidden: true
skip-slug: true
contents:
- POST /v1/rerank
- section: "v1/classify"
- endpoint: POST /v1/generate
slug: generate-v1
title: generate
- endpoint: STREAM /v1/generate
slug: generate-stream-v1
title: generate with Streaming
- section: "v1/rerank"
hidden: true
skip-slug: true
contents:
- POST /v1/classify
- section: "v1/generate"
- POST /v1/rerank
- section: "v1/embed"
hidden: true
skip-slug: true
contents:
- endpoint: POST /v1/generate
title: Chat Non-streaming
- endpoint: STREAM /v1/generate
title: Chat Streaming
- POST /v1/embed
- section: "v1/summarize"
hidden: true
skip-slug: true
contents:
- POST /v1/summarize
- section: "v1/check-api-key"
skip-slug: true
hidden: true
skip-slug: true
contents:
- POST /v1/check-api-key
- tab: release-notes
Expand Down

0 comments on commit 165f956

Please sign in to comment.