Repository navigation
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
72 lines (71 loc) · 1.72 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
72 lines (71 loc) · 1.72 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
__webpack_public_path__ = "/docs/";
module.exports = {
title: "Devsy docs | DevContainers everywhere",
tagline: "DevContainers everywhere",
url: "https://devsy.sh",
baseUrl: __webpack_public_path__,
favicon: "/media/devsy-favicon.svg",
organizationName: "devsy-org",
projectName: "devsy",
themeConfig: {
colorMode: {
defaultMode: "light",
disableSwitch: false,
respectPrefersColorScheme: true,
},
navbar: {
logo: {
alt: "devsy",
src: "/media/devsy-logo-horizontal.svg",
srcDark: "/media/devsy-logo-horizontal-dark.svg",
href: "https://devsy.sh/",
target: "_self",
},
items: [
{
to: "/docs/what-is-devsy",
label: "Docs",
position: "left",
},
{
href: "https://github.com/devsy-org/devsy",
className: "github-link",
"aria-label": "GitHub",
position: "right",
},
],
},
footer: {
style: "light",
links: [],
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://devsy.sh/">Devsy</a>`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
path: "pages",
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/devsy-org/docs/edit/main/",
},
theme: {
customCss: require.resolve("./src/scss/custom.scss"),
},
},
],
],
plugins: ['docusaurus-plugin-sass'],
scripts: [
{
src: "https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js",
async: true,
},
{
src: "/docs/js/custom.js",
async: true,
},
],
};