Skip to content

Commit

Permalink
Merge pull request #1 from cohere-ai/fern/move
Browse files Browse the repository at this point in the history
fern: migrate docs
abvthecity authored Aug 6, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents fa70d55 + 9888820 commit a16d187
Showing 1,245 changed files with 93,536 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/preview-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: preview-docs

on:
pull_request:
paths:
- "fern/**"
branches:
- main

jobs:
run:
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Dependencies
shell: bash
run: pnpm install

- name: Generate preview URL
id: generate-docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: |
OUTPUT=$(pnpm run docs:preview 2>&1) || true
echo "$OUTPUT"
URL=$(echo "$OUTPUT" | grep -oP 'Published docs to \K.*(?= \()')
echo "Preview URL: $URL"
echo "🌿 Preview your docs: $URL" > preview_url.txt
- name: Comment URL in PR
uses: thollander/[email protected]
with:
filePath: preview_url.txt
30 changes: 30 additions & 0 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: publish-docs

on:
push:
paths:
- "fern/**"
branches:
- main

jobs:
run:
runs-on: ubuntu-latest
if: github.event_name == 'push' && contains(github.ref, 'refs/heads/main')
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Dependencies
shell: bash
run: pnpm install

- name: Publish Docs
env:
FERN_TOKEN: ${{ secrets.FERN_TOKEN }}
run: pnpm run docs:publish
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
node_modules/
Binary file added fern/assets/CohereMono-Regular.woff2
Binary file not shown.
Binary file added fern/assets/CohereText-Regular.woff2
Binary file not shown.
Binary file added fern/assets/CohereVariable.woff2
Binary file not shown.
Binary file added fern/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/0062bc8-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/00e8907-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/012a6bc-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/0141cb4-image2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/04fe094-Visual_6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/053f878-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/05b4ffe-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/0604e15-rerank_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/0826a69-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/0842f8c-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added fern/assets/images/0986b67-image.png
Binary file added fern/assets/images/09a1566-image.png
Binary file added fern/assets/images/09c2883-image.png
Binary file added fern/assets/images/09f2b0e-image.png
Binary file added fern/assets/images/0a1dce6-image.png
Binary file added fern/assets/images/0a7d3d4-image.png
Binary file added fern/assets/images/0c1d0dc-image.png
Binary file added fern/assets/images/0c97b99-image.png
Binary file added fern/assets/images/0d1dd7c-image.png
Binary file added fern/assets/images/0d3a959-image.png
Binary file added fern/assets/images/0dadf03-Meor.png
Binary file added fern/assets/images/0dc0cf9-image.png
Binary file added fern/assets/images/0dc8e33-image.png
Binary file added fern/assets/images/0e82e79-demo-gif.gif
Binary file added fern/assets/images/0eb2f04-image.png
Binary file added fern/assets/images/0f6ea93-Teams_and_Roles_1.png
Binary file added fern/assets/images/101bebb-image.png
Binary file added fern/assets/images/10ecb07-basic.png
Binary file added fern/assets/images/1326459-image.png
Binary file added fern/assets/images/1439ae5-connector-mode-1.png
Binary file added fern/assets/images/1536b03-image.png
Binary file added fern/assets/images/16e1b4d-final-app.png
Binary file added fern/assets/images/1764e35-small-1-add-data.png
Binary file added fern/assets/images/17ec857-Chaining_Prompts.png
Binary file added fern/assets/images/17fcaa9-image.png
Binary file added fern/assets/images/18ecd8a-image.png
Binary file added fern/assets/images/1919807-image.png
Binary file added fern/assets/images/1a23c06-image.png
Binary file added fern/assets/images/1ab5080-image.png
Binary file added fern/assets/images/1b4b0b9-image.png
Binary file added fern/assets/images/1bbd0df-image.png
Binary file added fern/assets/images/1df083b-guide-chat-4.png
1 change: 1 addition & 0 deletions fern/assets/images/1e500e0-tool_use_1.svg

Large diffs are not rendered by default.

Binary file added fern/assets/images/1f2adc9-image.png
Binary file added fern/assets/images/1fb53bd-classify.png
Binary file added fern/assets/images/203633d-image.png
Binary file added fern/assets/images/20c3e80-image.png
Binary file added fern/assets/images/21bf6d2-image.png
Binary file added fern/assets/images/22457d3-guide-chat-1.png
Binary file added fern/assets/images/22d3473-private_deployment.png
Binary file added fern/assets/images/22e923e-image.png
Binary file added fern/assets/images/24ec0ce-image.png
Binary file added fern/assets/images/2506606-extension-view.png
Binary file added fern/assets/images/25453a0-image.png
Binary file added fern/assets/images/2604a6e-image.png
Binary file added fern/assets/images/2701a3e-image.png
Binary file added fern/assets/images/273a54a-query-gen-viz.png
Binary file added fern/assets/images/27c5174-image.png
Binary file added fern/assets/images/27e378f-small-meor_amer.png
Binary file added fern/assets/images/289e8be-image.png
Binary file added fern/assets/images/29731eb-image.png
Binary file added fern/assets/images/298afce-image.png
Binary file added fern/assets/images/2ad5104-image.png
Binary file added fern/assets/images/2b13b38-image.png
Binary file added fern/assets/images/2c68406-custom_models.png
Binary file added fern/assets/images/2ce36b1-Visual_8.png
Binary file added fern/assets/images/2d0a48f-chroma-logo.png
Binary file added fern/assets/images/2ee7fc1-image.png
Binary file added fern/assets/images/2efe960-image.png
Binary file added fern/assets/images/2f909fd-image.png
Binary file added fern/assets/images/3065aba-image.png
Binary file added fern/assets/images/309a134-image.png
Binary file added fern/assets/images/30ab1bf-image.png
Binary file added fern/assets/images/3180a95-image.png
Binary file added fern/assets/images/31f890b-image.png
Binary file added fern/assets/images/329efd5-image.png
Binary file added fern/assets/images/3308f34-image3.png
Binary file added fern/assets/images/3335984-Instruction.png
Binary file added fern/assets/images/338ad8f-image.png
Binary file added fern/assets/images/33d5fbe-image.png
Binary file added fern/assets/images/342e83e-image.png
Binary file added fern/assets/images/343419a-image.png
Binary file added fern/assets/images/353bde9-image.png
Binary file added fern/assets/images/35a20f8-image.png
Binary file added fern/assets/images/3609440-endpoint-call.png
Binary file added fern/assets/images/3644b70-image.png
Binary file added fern/assets/images/3806471-image.png
Binary file added fern/assets/images/382b43d-small-ft-metrics.png
Binary file added fern/assets/images/387d90a-image.png
Binary file added fern/assets/images/39e9f93-image.png
Binary file added fern/assets/images/3b637c6-query-gen-marked.png
Binary file added fern/assets/images/3b709b1-image.png
Binary file added fern/assets/images/3b8e370-image.png
Binary file added fern/assets/images/3c44e8b-image.png
Binary file added fern/assets/images/3cb9160-zilliz-logo.png
Binary file added fern/assets/images/3df649b-image1.png
Binary file added fern/assets/images/3e06b41-image.png
Binary file added fern/assets/images/41ccca5-image.png
Binary file added fern/assets/images/4217269-example-output-1.png
Binary file added fern/assets/images/42ef38e-image.png
Binary file added fern/assets/images/4329dde-image.png
Binary file added fern/assets/images/43d64fd-image.png
Binary file added fern/assets/images/43fb42d-image.png
Binary file added fern/assets/images/444774a-small-Untitled_2.png
Binary file added fern/assets/images/4592b41-small-ft-upload.png
Binary file added fern/assets/images/461ce25-image.png
Binary file added fern/assets/images/464fb1c-4d14720-image.png
Binary file added fern/assets/images/465773a-image.png
Binary file added fern/assets/images/46a4a7e-rag-connector.png
Binary file added fern/assets/images/4788510-image.png
Binary file added fern/assets/images/48a2e02-atis_model_ready.png
Binary file added fern/assets/images/48dad78-cohere_dashboard.png
1 change: 1 addition & 0 deletions fern/assets/images/4a1ad91-pinecone-logo.svg
Binary file added fern/assets/images/4a4c29a-cls_sent_0.png
Binary file added fern/assets/images/4b749e0-image.png
Binary file added fern/assets/images/4bb18de-vendor.png
Binary file added fern/assets/images/4c7d1c1-image.png
Binary file added fern/assets/images/4ca7ba9-rerank_3.png
Binary file added fern/assets/images/4f3c83f-image.png
Binary file added fern/assets/images/5117351-image.png
Binary file added fern/assets/images/5126dbc-image.png
Binary file added fern/assets/images/52d54cd-image.png
Binary file added fern/assets/images/5329788-image.png
Binary file added fern/assets/images/542c6ec-image.png
Binary file added fern/assets/images/545e35e-Visual_5.png
Binary file added fern/assets/images/5524d04-image2.png
Binary file added fern/assets/images/5537e88-image.png
Binary file added fern/assets/images/574712f-top-view.png
Binary file added fern/assets/images/577d1cd-start-training.png
Binary file added fern/assets/images/57ac33b-image.png
Binary file added fern/assets/images/57e7c75-image.png
Binary file added fern/assets/images/580ff8c-get_model_ID.png
Binary file added fern/assets/images/58831c2-image.png
Binary file added fern/assets/images/58f3210-image.png
Binary file added fern/assets/images/58fb554-image.png
Binary file added fern/assets/images/5964e18-image.png
Binary file added fern/assets/images/59f2756-image.png
Binary file added fern/assets/images/5ae9bbd-redis-logo.png
Binary file added fern/assets/images/5aef9ea-image.png
Binary file added fern/assets/images/5cad5cb-image.png
Binary file added fern/assets/images/5dc498c-image.png
Binary file added fern/assets/images/5e358cf-guide-chat-3.png
Binary file added fern/assets/images/5e37992-image.png
Binary file added fern/assets/images/5e3c017-embed.png
Binary file added fern/assets/images/5ef08c6-image.png
Binary file added fern/assets/images/5f36a04-image.png
Binary file added fern/assets/images/5f8c5fb-image.png
Binary file added fern/assets/images/606c9b5-embed.png
Binary file added fern/assets/images/62829d7-rerank_2.png
Binary file added fern/assets/images/629c4a1-rerank_7.png
Binary file added fern/assets/images/6306a80-image.png
Binary file added fern/assets/images/63101b4-toolkit_graphic.png
Binary file added fern/assets/images/6423bff-image.png
Binary file added fern/assets/images/6546148-image.png
Binary file added fern/assets/images/6568a55-image.png
Binary file added fern/assets/images/658eb96-image.png
Binary file added fern/assets/images/65f25af-image.png
Binary file added fern/assets/images/660910f-image.png
Binary file added fern/assets/images/6739f11-image.png
Binary file added fern/assets/images/67cba65-apps-script.png
Binary file added fern/assets/images/67f4530-Playground_-_Chat.png
Binary file added fern/assets/images/686f2c0-416-536x354.jpeg
Binary file added fern/assets/images/68b6fc3-small-prompt-faq.png
Binary file added fern/assets/images/68bb692-image.png

Large diffs are not rendered by default.

Loading

0 comments on commit a16d187

Please sign in to comment.