-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
86 lines (79 loc) · 2.03 KB
/
Copy pathdocusaurus.config.js
File metadata and controls
86 lines (79 loc) · 2.03 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
import {themes as prismThemes} from 'prism-react-renderer';
const config = {
title: 'LINC Gallery',
staticDirectories: ['static'],
tagline: 'Showcase of the science from a NIH BRAIN CONNECTS center',
favicon: 'img/linc.logo.color+white.notext+square.png',
url: 'https://gallery.lincbrain.org',
baseUrl: '/',
organizationName: 'lincbrain',
projectName: 'linc-gallery',
trailingSlash: false,
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'classic',
{
theme: {
customCss: './src/css/custom.css',
},
docs: false,
gtag: {
trackingID: 'G-JT8NM7QK71',
anonymizeIP: true,
},
},
],
],
themeConfig:
({
image: 'img/linc.logo.color+white.png',
navbar: {
logo: {
alt: 'Logo',
src: 'img/linc.logo.color+white.notext.png',
},
items: [
{to: '/dmri', label: 'Diffusion MRI', position: 'right'},
{to: '/mri-xray', label: 'MRI & X-ray', position: 'right'},
{to: '/pathways', label: 'Pathway Atlas', position: 'right'},
{to: '/team', label: 'Team', position: 'right'},
{to: 'https://connects.mgh.harvard.edu/', label: 'Project Homepage', position: 'right'},
],
},
footer: {
style: 'light',
links: [
{
items: [
{
label: 'GitHub',
href: 'https://github.com/lincbrain/linc-gallery',
},
],
},
{
items: [
{
html: `<div style="text-align: right;">© ${new Date().getFullYear()} LINC</div>`,
},
],
},
],
},
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
prism: {
theme: prismThemes.github,
},
}),
};
export default config;