-
Notifications
You must be signed in to change notification settings - Fork 12
/
docusaurus.config.js
54 lines (53 loc) · 1.52 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
const configs = require("./config");
module.exports = {
title: "30 Seconds of Typescript- Inspired by 30-seconds-of-code",
tagline:
"30 Seconds of Typescript, Code Snippets to increase productivity[WIP]",
url: "https://deepakshrma.github.io/30-seconds-of-typescript/docs/",
baseUrl: "/30-seconds-of-typescript/",
favicon: "img/favicon.ico",
organizationName: "deepakshrma", // Usually your GitHub org/user name.
projectName: "30-seconds-of-typescript", // Usually your repo name.
...configs,
themeConfig: {
...configs.themeConfig,
navbar: {
title: "30 Seconds of Typescript",
logo: {
alt: "30 Seconds of Typescript Logo",
src: "img/logo.svg",
},
links: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
href: "https://github.com/deepakshrma/30-seconds-of-typescript",
label: "GitHub",
position: "right",
},
],
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
// It is recommended to set document id as docs home page (`docs/` path).
homePageId: "introduction",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
"https://github.com/deepakshrma/30-seconds-of-typescript/edit/master",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};