This repository was archived by the owner on Jan 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
102 lines (101 loc) · 2.49 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
102 lines (101 loc) · 2.49 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
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
const versions = require("./versions.json");
module.exports = {
title: "ts-engine",
tagline: "Power TypeScript packages and reduce your config overhead",
url: "https://ts-engine.dev",
baseUrl: "/",
favicon: "img/logo.svg",
organizationName: "ts-engine", // Usually your GitHub org/user name.
projectName: "ts-engine", // Usually your repo name.
themeConfig: {
algolia: {
apiKey: "dd933e60cb4c9589286119ab2d4b6e1e",
indexName: "ts-engine",
},
navbar: {
title: "ts-engine",
logo: {
alt: "ts-engine Logo",
src: "img/logo.svg",
},
items: [
{
to: "docs/installation",
activeBasePath: "docs",
label: "Docs",
position: "left",
items: [
{
label: `${versions[0]} (latest)`,
to: "docs/installation",
},
...versions.slice(1).map((version) => ({
label: version,
to: `docs/${version}/installation`,
})),
{
label: "Next",
to: `docs/next/installation`,
},
],
},
{
href: "https://github.com/ts-engine",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Getting started",
to: "docs/installation",
},
{
label: "Quick reference",
to: "docs/command-quick-reference",
},
],
},
{
title: "Community",
items: [
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/ts-engine",
},
],
},
{
title: "Social",
items: [
{
label: "GitHub",
href: "https://github.com/ts-engine",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Lee Cheneler and doc contributors. Built with Docusaurus.`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/ts-engine/docs/edit/master/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};