-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
46 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
**/*.mdx | ||
|
||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,40 @@ | ||
import starlight from '@astrojs/starlight'; | ||
import { defineConfig } from 'astro/config'; | ||
|
||
import tailwind from "@astrojs/tailwind"; | ||
import starlight from '@astrojs/starlight' | ||
import tailwind from '@astrojs/tailwind' | ||
import { defineConfig } from 'astro/config' | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: 'https://docs.coursebuilder.dev/', | ||
favicon: '/images/badass.svg', | ||
integrations: [starlight({ | ||
title: 'Course Builder', | ||
logo: { | ||
src: './src/assets/badass.svg', | ||
replacesTitle: true, | ||
}, | ||
editLink: { | ||
baseUrl: 'https://github.com/joelhooks/course-builder/edit/main/docs/', | ||
}, | ||
defaultLocale: 'root', | ||
locales: { | ||
root: { | ||
label: 'English', | ||
lang: 'en', | ||
} | ||
}, | ||
social: { | ||
github: 'https://github.com/joelhooks/course-builder', | ||
'x.com': 'https://x.com/badass_courses', | ||
}, | ||
customCss: [ | ||
// Path to your Tailwind base styles: | ||
'./src/tailwind.css', | ||
], | ||
}), tailwind({ | ||
// Disable the default base styles: | ||
applyBaseStyles: false, | ||
})] | ||
}); | ||
integrations: [ | ||
starlight({ | ||
title: 'Course Builder', | ||
logo: { | ||
src: './src/assets/badass.svg', | ||
replacesTitle: true, | ||
}, | ||
editLink: { | ||
baseUrl: 'https://github.com/joelhooks/course-builder/edit/main/docs/', | ||
}, | ||
defaultLocale: 'root', | ||
locales: { | ||
root: { | ||
label: 'English', | ||
lang: 'en', | ||
}, | ||
}, | ||
social: { | ||
github: 'https://github.com/joelhooks/course-builder', | ||
'x.com': 'https://x.com/badass_courses', | ||
}, | ||
customCss: [ | ||
// Path to your Tailwind base styles: | ||
'./src/tailwind.css', | ||
], | ||
}), | ||
tailwind({ | ||
// Disable the default base styles: | ||
applyBaseStyles: false, | ||
}), | ||
], | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import starlightPlugin from '@astrojs/starlight-tailwind'; | ||
import starlightPlugin from '@astrojs/starlight-tailwind' | ||
|
||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [starlightPlugin()], | ||
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'], | ||
theme: { | ||
extend: {}, | ||
}, | ||
plugins: [starlightPlugin()], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters