-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
51 lines (49 loc) · 1.21 KB
/
astro.config.mjs
File metadata and controls
51 lines (49 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
import netlify from "@astrojs/netlify";
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: 'Dev Docs',
social: {
github: 'https://github.com/avijit969'
},
sidebar: [{
label: 'Javascript',
items: [
// Each item here is one entry in the navigation menu.
{
label: 'Introduction',
slug: 'javascript/introduction'
}, {
label: 'Overview',
slug: 'javascript/overview'
}, {
label: 'Running and Loading',
slug: 'javascript/running_and_loading'
}, {
label: 'Basic',
slug: 'javascript/basic'
}, {
label: 'Functions',
slug: 'javascript/functions'
}, {
label: 'Objects',
slug: 'javascript/objects'
}, {
label: 'DOM Manipulation',
slug: 'javascript/dom_manipulation'
}, {
label: 'Asynchronous JavaScript',
slug: 'javascript/asynchronous_javascript'
}]
}, {
label: 'Python',
autogenerate: {
directory: 'python'
}
}]
})],
output: "server",
adapter: netlify()
});