-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
155 lines (154 loc) · 4.7 KB
/
astro.config.mjs
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
// https://astro.build/config
export default defineConfig({
integrations: [
starlight({
title: "My DevNotes",
locales: {
root: {
label: "Turkce",
lang: "tr-TR",
},
},
social: {
github: "https://github.com/ozayo/mydoc",
twitter: 'https://twitter.com/ozayozdemir',
linkedin: 'https://www.linkedin.com/in/ozay-ozdemir/',
},
customCss: ["./src/styles/custom.css"],
sidebar: [
{
label: "Hoşgeldiniz?",
items: [{ label: "Nedir?", link: "/welcome/01/" }],
},
{
label: "Tools",
collapsed: false,
items: [
// Each item here is one entry in the navigation menu.
{ label: "Önemli araçlar", link: "/tools/01/" },
// a nested group links
//Vsc
{
label: "Visual Studio Code",
collapsed: true,
items: [
{ label: "VsCode Nedir", link: "/tools/vscode/01/" },
{ label: "macOS için VS Code kısayolları", link: "/tools/vscode/02/" }
],
},
// terminal
{
label: "Terminal",
collapsed: true,
items: [
{ label: "Terminal Nedir?", link: "/tools/terminal/01/" },
{ label: "Terminal Komutları", link: "/tools/terminal/02/" },
],
},
//Git
{
label: "Git",
collapsed: true,
items: [
{ label: "Git Nedir", link: "/tools/git/01/" },
{ label: ".gitignore", link: "/tools/git/02/" },
{ label: "Açıklamalı git komutları", link: "/tools/git/03/" },
{ label: "Komut tablosu", link: "/tools/git/04/" },
{ label: "Git Rebase", link: "/tools/git/05/" },
],
},
//Git hub
{
label: "GitHub",
collapsed: true,
items: [{ label: "GitHub nedir?", link: "/tools/github/01/" }],
},
{
label: "NPM",
collapsed: true,
items: [
{ label: "NPM", link: "/tools/npm/01/" },
{ label: "Npm Npx Farki", link: "/tools/npm/02/" },
{ label: "Npm komutları", link: "/tools/npm/03/" },
],
},
{
label: "Markdown",
collapsed: true,
items: [{ label: "Markdown", link: "/tools/markdown/01/" }],
},
{
label: "Vite",
collapsed: true,
items: [{ label: "Vite", link: "/tools/vite/01/" }],
},
{
label: "Docker",
collapsed: true,
items: [{ label: "Docker nedir?", link: "/tools/docker/01/" }],
},
],
},
{
label: "Kavramlar",
autogenerate: { directory: "sozluk" },
badge: { text: 'Devam ediyor', variant: 'caution' },
},
{
label: "JavaScript",
autogenerate: { directory: "javascript" },
badge: { text: 'Devam ediyor', variant: 'caution' },
},
{
label: "TypeScript",
autogenerate: { directory: "typescript" },
},
{
label: "CSS",
autogenerate: { directory: "css" },
badge: { text: 'Devam ediyor', variant: 'caution' },
},
{
label: "React JS",
autogenerate: { directory: "react" },
badge: { text: 'Devam ediyor', variant: 'caution' },
},
{
label: "Next JS",
autogenerate: { directory: "nextjs" },
badge: { text: 'Devam ediyor', variant: 'caution' },
},
{
label: "ReactNative",
autogenerate: { directory: "reactnative" },
badge: { text: 'Devam ediyor', variant: 'caution' },
},
{
label: "Databases",
collapsed: false,
items: [
// a nested group links
//postgres
{
label: "PostgreSQL",
collapsed: true,
autogenerate: { directory: "postgres" },
},
// mysql
// {
// label: "MySQL",
// collapsed: true,
// autogenerate: { directory: "mysql" },
// },
],
},
// {
// label: "OzayJS",
// autogenerate: { directory: "ozayjavascript" },
// },
],
}),
],
});