Skip to content

Commit 2aa442f

Browse files
committed
[Docs Site] Upgrade to Tailwind v4
1 parent 41ab175 commit 2aa442f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1337
-1824
lines changed

astro.config.ts

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { defineConfig } from "astro/config";
22
import starlight from "@astrojs/starlight";
3-
import tailwind from "@astrojs/tailwind";
43
import starlightDocSearch from "@astrojs/starlight-docsearch";
54
import starlightImageZoom from "starlight-image-zoom";
65
import liveCode from "astro-live-code";
@@ -90,11 +89,19 @@ export default defineConfig({
9089
src: "./src/assets/logo.svg",
9190
},
9291
favicon: "/favicon.png",
93-
social: {
94-
github: "https://github.com/cloudflare/cloudflare-docs",
95-
"x.com": "https://x.com/cloudflare",
96-
youtube: "https://www.youtube.com/cloudflare",
97-
},
92+
social: [
93+
{
94+
label: "GitHub",
95+
icon: "github",
96+
href: "https://github.com/cloudflare/cloudflare-docs",
97+
},
98+
{ label: "X.com", icon: "x.com", href: "https://x.com/cloudflare" },
99+
{
100+
label: "YouTube",
101+
icon: "youtube",
102+
href: "https://www.youtube.com/cloudflare",
103+
},
104+
],
98105
editLink: {
99106
baseUrl:
100107
"https://github.com/cloudflare/cloudflare-docs/edit/production/",
@@ -143,9 +150,9 @@ export default defineConfig({
143150
starlightImageZoom(),
144151
],
145152
lastUpdated: true,
146-
}),
147-
tailwind({
148-
applyBaseStyles: false,
153+
markdown: {
154+
headingLinks: false,
155+
},
149156
}),
150157
liveCode({}),
151158
icon(),

0 commit comments

Comments
 (0)