-
Notifications
You must be signed in to change notification settings - Fork 11
/
docusaurus.config.js
executable file
·165 lines (163 loc) · 5.05 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
//const mermaid = require('remark-mermaid');
// const admonitions = require('@lebalz/remark-admonitions');
// var vfile = require('to-vfile');
module.exports = {
title: 'Legal Tech Class',
tagline: 'A collaboratively-built class for teaching legal technology',
url: 'https://suffolklitlab.github.io',
baseUrl: '/legal-tech-class/',
favicon: 'img/favicon.ico',
organizationName: 'suffolklitlab', // Usually your GitHub org/user name.
projectName: 'legal-tech-class', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
themeConfig: {
announcementBar: {
id: 'lit_con',
content:
'Suffolk\'s annual LIT Con is on April 8th, 2024! <a target="_blank" rel="noopener noreferrer" href="https://suffolklitlab.org/litcon/">Register now!</a>',
backgroundColor: '#fafbfc',
textColor: '#091E42',
isCloseable: false,
},
tableOfContents: {
minHeadingLevel: 2,
maxHeadingLevel: 5,
},
navbar: {
title: 'Legal Tech Class',
logo: {
alt: 'LIT Lab',
src: 'img/blue_logo.png',
},
items: [
{to: 'docs/about-legal-tech-class',
label: 'Textbook',
position: 'left'},
/*{to: 'blog', label: 'Blog', position: 'left'},*/
{to: 'docs/classes/class-overview',
label: 'Classes',
position: 'left'},
{
href: "https://suffolklitlab.org",
label: "Suffolk Law School LIT Lab",
position: "right",
},
{
href: 'https://github.com/SuffolkLITLab/legal-tech-class',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'Docs',
items: [
{
label: 'Overview of Docassemble',
to: 'docs/introduction-to-docassemble',
},
{
label: 'Suffolk LIT Lab How To',
href: 'https://suffolklitlab.org/howto/',
},
],
},
{
title: 'Community',
items: [
{
label: 'Slack',
href: 'https://docassemble.org/docs/support.html#tocAnchor-1-1',
},
],
},
{
title: 'More information',
items: [
{
label: 'About the Editor',
href: 'https://nonprofittechy.com',
},
{
label: "About the LIT Lab",
href: "https://suffolklitlab.org",
},
{
label: 'GitHub',
href: 'https://github.com/suffolklitlab/legal-tech-class',
},
],
},
{
title: "Image Credits",
items: [
{
label: "Icons made by Freepik",
href: "https://www.flaticon.com/authors/freepik",
},
{
label: "Icons made by Freepik",
href: "https://www.flaticon.com/free-icon/excavator_975574",
},
],
}
],
copyright: `Copyright © ${new Date().getFullYear()} Quinten Steenhuis and open source contributors. Built with Docusaurus. <a target="_blank" href="https://icons8.com/icons/set/law">Law icon</a> icon by <a target="_blank" href="https://icons8.com">Icons8</a>`,
},
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl:
'https://github.com/suffolklitlab/legal-tech-class/edit/master/class/',
remarkPlugins: [
// [admonitions, {
// customTypes: {
// custom: {
// emoji: '💻',
// svg: '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M15 2H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h5.34c-.25.61-.86 1.39-2.34 2h8c-1.48-.61-2.09-1.39-2.34-2H15c.55 0 1-.45 1-1V3c0-.55-.45-1-1-1zm0 9H1V3h14v8z"></path></svg>'
// }
// }
// }]
], // Plugin for remark-mermaid to generate UML diagrams
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
scripts: [
// String format.
//'https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.4.4/mermaid.min.js',
// Object format.
// {
// src:
// 'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
// async: true,
// },
],
themes:
[
[
require.resolve("@easyops-cn/docusaurus-search-local"),
/** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
({
// ... Your options.
// `hashed` is recommended as long-term-cache of index file is possible.
hashed: true,
// For Docs using Chinese, The `language` is recommended to set to:
// ```
// language: ["en", "zh"],
// ```
}),
],
],
};