forked from brown-ccv/honeycomb-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocusaurus.config.js
105 lines (103 loc) · 3.68 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
module.exports = {
title: "Honeycomb",
tagline:
"A template for reproducible psychophysiological tasks for clinic, laboratory, and home use",
url: "https://brown-ccv.github.io",
baseUrl: "/honeycomb-docs/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/hexagon-regular.svg",
organizationName: "brown-ccv", // Usually your GitHub org/user name.
projectName: "honeycomb-docs", // Usually your repo name.
themeConfig: {
navbar: {
title: "Honeycomb",
logo: {
alt: "Honeycomb Logo",
src: "img/hexagon-regular.svg",
},
items: [
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
type: "docsVersionDropdown",
position: "right",
dropdownActiveClassDisabled: true,
},
{
href: "https://github.com/brown-ccv/honeycomb",
label: "GitHub",
position: "right",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/",
},
],
},
{
title: "Community",
items: [
{
label: "GitHub",
href: "https://github.com/brown-ccv/honeycomb",
},
],
},
],
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
"https://github.com/brown-ccv/honeycomb-docs/edit/main/",
showLastUpdateTime: true,
/**
* The last version is the one we navigate to in priority on versioned sites
* It is the one displayed by default in docs navbar items
* By default, the last version is the first one to appear in versions.json
* By default, the last version is at the "root" (docs have path=/docs/myDoc)
* Note: it is possible to configure the path and label of the last version
* Tip: using lastVersion: 'current' make sense in many cases
*/
lastVersion: "current",
/**
* The docusaurus versioning defaults don't make sense for all projects
* This gives the ability customize the label and path of each version
* You may not like that default version
*/
versions: {
current: {
label: "2.1.0",
path: "",
},
"1.1.0": {
label: "1.1.0",
path: "1.1.0",
},
},
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};