@@ -4,58 +4,70 @@ import starlight from '@astrojs/starlight';
44
55import sitemap from '@astrojs/sitemap' ;
66
7+ import tailwindcss from '@tailwindcss/vite' ;
8+
79export default defineConfig ( {
8- site : 'https://allcontributors.org' ,
9- base : '/' ,
10- output : 'static' ,
11- redirects : {
12- // Later we can put redirects here if needed
13- } ,
14- integrations : [ starlight ( {
15- title : '' ,
16- logo : {
17- src : './src/assets/logo-full.svg' ,
18- } ,
19- favicon : '/icons/favicon-16x16.png' ,
20- social : [ { icon : 'github' , label : 'GitHub' , href : 'https://github.com/all-contributors/all-contributors' } ] ,
21- sidebar : [
22- {
23- label : 'Specification' ,
24- items : [
25- { label : 'overview' , slug : 'overview' } ,
26- { label : 'specification' , slug : 'specification' } ,
27- { label : 'emoji-key' , slug : 'emoji-key' } ,
28- { label : 'repository-maintainers' , slug : 'repository-maintainers' } ,
29- { label : 'tooling' , slug : 'tooling' }
30- ] ,
31- } ,
32- {
33- label : '@all-contributors Bot 🤖' ,
34- items : [
35- { label : 'overview' , slug : 'bot/overview' } ,
36- { label : 'installation' , slug : 'bot/installation' } ,
37- { label : 'usage' , slug : 'bot/usage' } ,
38- { label : 'configuration' , slug : 'bot/configuration' } ,
39- { label : 'faq' , slug : 'bot/faq' }
40- ] ,
41- } ,
42- {
43- label : 'CLI' ,
44- items : [
45- { label : 'overview' , slug : 'cli/overview' } ,
46- { label : 'installation' , slug : 'cli/installation' } ,
47- { label : 'usage' , slug : 'cli/usage' } ,
48- { label : 'configuration' , slug : 'cli/configuration' }
49- ] ,
50- } ,
51- {
52- label : 'Project' ,
53- items : [
54- { label : 'contribute' , slug : 'project/contribute' } ,
55- { label : 'code-of-conduct' , slug : 'project/code-of-conduct' } ,
56- { label : 'implementations' , slug : 'project/implementations' }
57- ] ,
58- } ,
59- ] ,
60- } ) , sitemap ( ) ] ,
10+ site : 'https://allcontributors.org' ,
11+ base : '/' ,
12+ output : 'static' ,
13+
14+ redirects : {
15+ // Later we can put redirects here if needed
16+ } ,
17+
18+ integrations : [
19+ starlight ( {
20+ customCss : [
21+ './src/styles/global.css' ,
22+ './src/fonts/font-face.css' ] ,
23+ title : '' ,
24+ logo : {
25+ src : './src/assets/logo-full.svg' ,
26+ } ,
27+ favicon : '/icons/favicon-16x16.png' ,
28+ social : [ { icon : 'github' , label : 'GitHub' , href : 'https://github.com/all-contributors/all-contributors' } ] ,
29+ sidebar : [
30+ {
31+ label : 'Specification' ,
32+ items : [
33+ { label : 'overview' , slug : 'overview' } ,
34+ { label : 'specification' , slug : 'specification' } ,
35+ { label : 'emoji-key' , slug : 'emoji-key' } ,
36+ { label : 'repository-maintainers' , slug : 'repository-maintainers' } ,
37+ { label : 'tooling' , slug : 'tooling' }
38+ ] ,
39+ } ,
40+ {
41+ label : '@all-contributors Bot 🤖' ,
42+ items : [
43+ { label : 'overview' , slug : 'bot/overview' } ,
44+ { label : 'installation' , slug : 'bot/installation' } ,
45+ { label : 'usage' , slug : 'bot/usage' } ,
46+ { label : 'configuration' , slug : 'bot/configuration' } ,
47+ { label : 'faq' , slug : 'bot/faq' }
48+ ] ,
49+ } ,
50+ {
51+ label : 'CLI' ,
52+ items : [
53+ { label : 'overview' , slug : 'cli/overview' } ,
54+ { label : 'installation' , slug : 'cli/installation' } ,
55+ { label : 'usage' , slug : 'cli/usage' } ,
56+ { label : 'configuration' , slug : 'cli/configuration' }
57+ ] ,
58+ } ,
59+ {
60+ label : 'Project' ,
61+ items : [
62+ { label : 'contribute' , slug : 'project/contribute' } ,
63+ { label : 'code-of-conduct' , slug : 'project/code-of-conduct' } ,
64+ { label : 'implementations' , slug : 'project/implementations' }
65+ ] ,
66+ } ,
67+ ] ,
68+ } ) , sitemap ( ) ] ,
69+
70+ vite : {
71+ plugins : [ tailwindcss ( ) ] ,
72+ } ,
6173} ) ;
0 commit comments