-
Notifications
You must be signed in to change notification settings - Fork 0
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
7 changed files
with
936 additions
and
64 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,54 +1,56 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import starlight from '@astrojs/starlight'; | ||
import tailwind from '@astrojs/tailwind'; | ||
import freespoke_torch from "./src/assets/freespoke_torch.svg" | ||
import freespoke_torch from "./src/assets/freespoke_torch.svg"; | ||
|
||
import icon from "astro-icon"; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: "https://docs.freespoke.com", | ||
integrations: [ | ||
starlight({ | ||
title: 'Freespoke', | ||
logo: { | ||
dark: freespoke_torch, | ||
light: freespoke_torch, | ||
}, | ||
social: { | ||
github: 'https://github.com/Freespoke', | ||
}, | ||
sidebar: [ | ||
'get-started', | ||
{ | ||
label: 'About Freespoke', | ||
autogenerate: { directory: 'about' }, | ||
}, | ||
{ | ||
label: 'Freespoke Accounts', | ||
autogenerate: { directory: 'account' }, | ||
}, | ||
{ | ||
label: 'Freespoke Premium', | ||
autogenerate: { directory: 'premium' }, | ||
}, | ||
{ | ||
label: 'Privacy', | ||
autogenerate: { directory: 'privacy' }, | ||
} | ||
], | ||
favicon: '/favicon-16x16.png', | ||
head: [ | ||
// Add ICO favicon fallback for Safari. | ||
{ | ||
tag: 'link', | ||
attrs: { | ||
rel: 'icon', | ||
href: '/public/favicon.ico', | ||
sizes: '32x32', | ||
}, | ||
}, | ||
], | ||
customCss: ['./src/tailwind.css', './src/styles/custom.css'], | ||
}), | ||
tailwind({ applyBaseStyles: false }), | ||
], | ||
}); | ||
site: "https://docs.freespoke.com", | ||
integrations: [starlight({ | ||
title: 'Freespoke', | ||
logo: { | ||
dark: freespoke_torch, | ||
light: freespoke_torch | ||
}, | ||
social: { | ||
github: 'https://github.com/Freespoke' | ||
}, | ||
sidebar: ['get-started', { | ||
label: 'About Freespoke', | ||
autogenerate: { | ||
directory: 'about' | ||
} | ||
}, { | ||
label: 'Freespoke Accounts', | ||
autogenerate: { | ||
directory: 'account' | ||
} | ||
}, { | ||
label: 'Freespoke Premium', | ||
autogenerate: { | ||
directory: 'premium' | ||
} | ||
}, { | ||
label: 'Privacy', | ||
autogenerate: { | ||
directory: 'privacy' | ||
} | ||
}], | ||
favicon: '/favicon-16x16.png', | ||
head: [ | ||
// Add ICO favicon fallback for Safari. | ||
{ | ||
tag: 'link', | ||
attrs: { | ||
rel: 'icon', | ||
href: '/public/favicon.ico', | ||
sizes: '32x32' | ||
} | ||
}], | ||
customCss: ['./src/tailwind.css', './src/styles/custom.css'] | ||
}), tailwind({ | ||
applyBaseStyles: false | ||
}), icon()] | ||
}); |
Oops, something went wrong.