|
| 1 | +import starlight from "@astrojs/starlight"; |
1 | 2 | // @ts-check |
2 | | -import { defineConfig } from 'astro/config'; |
3 | | -import starlight from '@astrojs/starlight'; |
4 | | -import starlightThemeNext from 'starlight-theme-next' |
| 3 | +import { defineConfig } from "astro/config"; |
| 4 | +import starlightThemeNext from "starlight-theme-next"; |
5 | 5 |
|
6 | 6 | // https://astro.build/config |
7 | 7 | export default defineConfig({ |
8 | 8 | integrations: [ |
9 | 9 | starlight({ |
10 | 10 | plugins: [starlightThemeNext()], |
11 | | - title: 'Applio', |
12 | | - description: 'Documentation for Applio - AI-driven voice conversion tool', |
| 11 | + title: "Applio", |
| 12 | + description: "Documentation for Applio - AI-driven voice conversion tool", |
13 | 13 | social: [ |
14 | | - { icon: 'github', label: 'GitHub', href: 'https://github.com/iahispano/applio' } |
| 14 | + { |
| 15 | + icon: "github", |
| 16 | + label: "GitHub", |
| 17 | + href: "https://github.com/iahispano/applio", |
| 18 | + }, |
15 | 19 | ], |
16 | 20 | sidebar: [ |
17 | 21 | { |
18 | | - label: 'Introduction', |
19 | | - link: '/', |
| 22 | + label: "Introduction", |
| 23 | + link: "/", |
20 | 24 | }, |
21 | 25 | { |
22 | | - label: 'Getting Started', |
23 | | - autogenerate: { directory: 'getting-started' }, |
| 26 | + label: "Getting Started", |
| 27 | + autogenerate: { directory: "getting-started" }, |
24 | 28 | }, |
25 | 29 | { |
26 | | - label: 'Guides', |
27 | | - autogenerate: { directory: 'guides' }, |
| 30 | + label: "Guides", |
| 31 | + autogenerate: { directory: "guides" }, |
28 | 32 | }, |
29 | 33 | { |
30 | | - label: 'Terms of Use', |
31 | | - link: '/tos', |
| 34 | + label: "Terms of Use", |
| 35 | + link: "/tos", |
32 | 36 | }, |
33 | 37 | ], |
34 | 38 | editLink: { |
35 | | - baseUrl: 'https://github.com/iahispano/applio-website/edit/main/apps/applio-docs/', |
| 39 | + baseUrl: |
| 40 | + "https://github.com/iahispano/applio-website/edit/main/apps/applio-docs/", |
36 | 41 | }, |
37 | 42 | head: [ |
38 | 43 | { |
39 | | - tag: 'link', |
| 44 | + tag: "link", |
40 | 45 | attrs: { |
41 | | - rel: 'icon', |
42 | | - href: '/favicon.ico', |
| 46 | + rel: "icon", |
| 47 | + href: "/favicon.ico", |
43 | 48 | }, |
44 | 49 | }, |
45 | 50 | { |
46 | | - tag: 'meta', |
| 51 | + tag: "meta", |
47 | 52 | attrs: { |
48 | | - property: 'og:image', |
49 | | - content: '/opengraph-image.png', |
| 53 | + property: "og:image", |
| 54 | + content: "/opengraph-image.png", |
50 | 55 | }, |
51 | 56 | }, |
52 | 57 | { |
53 | | - tag: 'meta', |
| 58 | + tag: "meta", |
54 | 59 | attrs: { |
55 | | - name: 'twitter:image', |
56 | | - content: '/opengraph-image.png', |
| 60 | + name: "twitter:image", |
| 61 | + content: "/opengraph-image.png", |
57 | 62 | }, |
58 | 63 | }, |
59 | 64 | { |
60 | | - tag: 'link', |
| 65 | + tag: "link", |
61 | 66 | attrs: { |
62 | | - rel: 'preconnect', |
63 | | - href: 'https://fonts.googleapis.com', |
| 67 | + rel: "preconnect", |
| 68 | + href: "https://fonts.googleapis.com", |
64 | 69 | }, |
65 | 70 | }, |
66 | 71 | { |
67 | | - tag: 'link', |
| 72 | + tag: "link", |
68 | 73 | attrs: { |
69 | | - rel: 'preconnect', |
70 | | - href: 'https://fonts.gstatic.com', |
71 | | - crossorigin: '', |
| 74 | + rel: "preconnect", |
| 75 | + href: "https://fonts.gstatic.com", |
| 76 | + crossorigin: "", |
72 | 77 | }, |
73 | 78 | }, |
74 | 79 | { |
75 | | - tag: 'link', |
| 80 | + tag: "link", |
76 | 81 | attrs: { |
77 | | - rel: 'stylesheet', |
78 | | - href: 'https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap', |
| 82 | + rel: "stylesheet", |
| 83 | + href: "https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap", |
79 | 84 | }, |
80 | 85 | }, |
81 | 86 | { |
82 | | - tag: 'style', |
| 87 | + tag: "style", |
83 | 88 | attrs: { |
84 | | - type: 'text/css', |
| 89 | + type: "text/css", |
85 | 90 | }, |
86 | 91 | content: ` |
87 | 92 | @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap'); |
|
0 commit comments