-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdocusaurus.config.js
128 lines (128 loc) · 3.42 KB
/
docusaurus.config.js
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
module.exports = {
title: "Source Pocket",
tagline: "Your source pocket for development",
url: "https://sourcepocket.io",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "Source-pocket",
projectName: "source-pocket",
themeConfig: {
navbar: {
logo: {
alt: "Source Pocket Logo",
src: "img/logo.svg",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Source Pocket",
position: "left",
},
{
href: "https://github.com/Source-pocket/source-pocket",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Pockets",
items: [
{
label: "Contribute",
to: "docs/",
},
{
label: "Programming Languages Pocket",
to: "docs/programming-languages/computer-science",
},
{
label: "Web Development Pocket",
to: "docs/web-development/hosting-and-servers",
},
{
label: "Development Tools Pocket",
to: "docs/development-tools/azure",
},
{
label: "Operating Systems Pocket",
to: "docs/operating-systems/macos",
},
{
label: "Mobile Development Pocket",
to: "docs/mobile-development/android",
},
],
},
{
items: [
{
label: "Graphic Design Pocket",
to: "docs/graphic-design/general-design",
},
{
label: "Embedded Systems Pocket",
to: "docs/embedded-systems/arm",
},
{
label: "Databases Pocket",
to: "docs/databases/mssql",
},
{
label: "Data Science Pocket",
to: "docs/data-science/big-data",
},
{
label: "Artificial Intelligence Pocket",
to: "docs/artificial-intelligence/artificial-intelligence",
},
{
label: "Game Development Pocket",
to: "docs/game-development/unreal-engine",
},
{
label: "Network Programming Pocket",
to: "docs/network-programming/ipv4-ipv6",
},
],
},
{
title: "More",
items: [
{
label: "Made with 💜 by the members of Source Pocket Team",
href: "https://github.com/source-pocket/source-pocket",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} SourcePocket, Inc. Built with Docusaurus.`,
},
algolia: {
apiKey: process.env.API_KEY,
indexName: "sourcepocket",
placeholder: "search in Source Pocket",
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/Source-Pocket/source-pocket/blob/dev/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};