Skip to content

Commit 7e61849

Browse files
authored
Merge pull request #464 from swagger-api/feat/MWEB-2635-fix
Feat/mweb 2635 fix
2 parents 2ffafc0 + 9e9de7b commit 7e61849

13 files changed

Lines changed: 10205 additions & 12193 deletions

.node-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22.20.0

astro.config.mjs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { defineConfig } from "astro/config";
22
import starlight from "@astrojs/starlight";
3-
import tailwind from "@astrojs/tailwind";
3+
import tailwindcss from "@tailwindcss/vite";
44
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers";
55
import sitemap from "@astrojs/sitemap";
66

@@ -22,9 +22,9 @@ export default defineConfig({
2222
customCss: [
2323
// Path to your Tailwind base styles:
2424
"./src/tailwind.css", "./src/styles/fonts.css", "./src/styles/custom.css"],
25-
social: {
26-
github: "https://github.com/withastro/starlight"
27-
},
25+
social: [
26+
{ icon: 'github', label: 'GitHub', href: 'https://github.com/withastro/starlight' }
27+
],
2828
sidebar: [{
2929
label: "SwaggerHub",
3030
link: "https://support.smartbear.com/swaggerhub/docs/",
@@ -400,8 +400,8 @@ export default defineConfig({
400400
baseUrl: 'https://github.com/swagger-api/swagger.io/tree/stage'
401401
},
402402
favicon: 'favicon.svg'
403-
}), tailwind({
404-
// Disable the default base styles:
405-
applyBaseStyles: false
406-
}), sitemap()],
403+
}), sitemap()],
404+
vite: {
405+
plugins: [tailwindcss()],
406+
},
407407
});

0 commit comments

Comments
 (0)