Skip to content

Commit

Permalink
Update aside styling and remove titles from workers-ai asides
Browse files Browse the repository at this point in the history
  • Loading branch information
Meahaa committed Sep 24, 2024
1 parent 7c7a6c3 commit 259d40b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
15 changes: 9 additions & 6 deletions src/asides.css
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
.starlight-aside {
border: unset;
border-radius: 4px;
border-radius: 0.25rem;

&.starlight-aside--note {
background-color: rgb(236, 244, 255);
}

&.starlight-aside--caution {
background-color: rgb(255, 248, 228);

}

.starlight-aside__title {
margin-left: 30px;
margin-left: 2rem;
margin-bottom: 0.25rem;
gap: 0.75rem;
font-size: 0.875rem;

svg {
margin-left: -30px;
margin-left: -2rem;
}
}

.starlight-aside__content {
margin-top: unset;
margin-left: 30px;
margin-left: 2rem;
font-size: 0.875rem;
}
}

Expand All @@ -33,4 +36,4 @@
.starlight-aside--caution {
background-color: rgb(98, 73, 10);
}
}
}
4 changes: 1 addition & 3 deletions src/content/partials/workers-ai/custom_requirements.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@

---

:::note[Custom requirements]

:::note

If you have custom requirements like private custom models or higher limits, complete the [Custom Requirements Form](https://forms.gle/axnnpGDb6xrmR31T6). Cloudflare will contact you with next steps.


:::
5 changes: 2 additions & 3 deletions src/content/partials/workers-ai/file_issues.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@

---

:::caution[Workers AI is now Generally Available]
:::caution


To report bugs or give feedback, go to the [#workers-ai Discord channel](https://discord.cloudflare.com). If you are having issues with Wrangler, report issues in the [Wrangler GitHub repository](https://github.com/cloudflare/workers-sdk/issues/new/choose).
Workers AI is now Generally Available. To report bugs or give feedback, go to the [#workers-ai Discord channel](https://discord.cloudflare.com). If you are having issues with Wrangler, report issues in the [Wrangler GitHub repository](https://github.com/cloudflare/workers-sdk/issues/new/choose).


:::
1 change: 0 additions & 1 deletion src/content/partials/workers-ai/openai-compatibility.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
{}

---

Workers AI supports OpenAI compatible endpoints for [text generation](/workers-ai/models/#text-generation) (`/v1/chat/completions`) and [text embedding models](/workers-ai/models/#text-embeddings) (`/v1/embeddings`). This allows you to use the same code as you would for your OpenAI commands, but swap in Workers AI easily.

0 comments on commit 259d40b

Please sign in to comment.