-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
287 lines (271 loc) · 9.45 KB
/
docusaurus.config.js
File metadata and controls
287 lines (271 loc) · 9.45 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
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
// Trigger rebuild to deploy CEUR template ZIP
// @ts-check
import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'The Ontology Research & Development Network',
tagline: 'Advancing ontology research, education, and implementation across domains',
favicon: 'img/favicon.ico',
url: 'https://ncor-network.org',
baseUrl: '/',
// GitHub pages deployment config.
organizationName: 'NCOR-Organization',
projectName: 'NCOR-Network',
trailingSlash: false,
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'warn',
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
staticDirectories: ['static'],
presets: [
[
'classic',
({
docs: {
sidebarPath: require.resolve('./sidebars.js'),
editUrl: 'https://github.com/NCOR-Organization/NCOR-Network/tree/main/',
exclude: ['resources/**'],
},
blog: false,
theme: {
customCss: './src/css/custom.css',
},
sitemap: {
changefreq: 'weekly',
priority: 0.7,
filename: 'sitemap.xml',
},
}),
],
],
plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'wiki',
path: 'wiki',
routeBasePath: 'wiki',
sidebarPath: require.resolve('./wikiSidebars.js'),
editUrl: 'https://github.com/NCOR-Organization/NCOR-Network/tree/main/',
exclude: ['resources/**'],
},
],
],
themeConfig:
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
metadata: [
{
name: 'description',
content:
'NCOR is an international non-profit fostering ontology research, education, and interoperability for robust AI and data systems.',
},
{ property: 'og:site_name', content: 'NCOR Network' },
],
image: 'img/ncor-network-logo.png',
navbar: {
title: 'NCOR',
logo: {
alt: 'NCOR Logo',
src: 'img/ncor-network-logo.png',
srcDark: 'img/ncor-network-logo.png',
},
items: [
{
type: 'docSidebar',
sidebarId: 'docsSidebar',
position: 'right',
label: 'Get Started',
},
{
type: 'dropdown',
label: 'About',
position: 'right',
items: [
{ label: 'Mission', to: '/docs/about/mission' },
{ label: 'What is Ontology', to: '/docs/about/what-is-ontology' },
{ label: 'Ontology for AI', to: '/docs/about/ontology-for-ai' },
{ label: 'Success Stories', to: '/docs/about/success-stories' },
],
},
{
type: 'dropdown',
label: 'Credentialing & Certification',
position: 'right',
items: [
{ label: 'Overview', to: '/docs/credentialing/overview' },
{ label: 'Why Certification?', to: '/docs/credentialing/why-certification' },
{ label: 'What Are Ontologies?', to: '/docs/credentialing/what-ontologies-are' },
{ label: 'Ontology Vetting & Certification', to: '/docs/credentialing/ontology-vetting' },
{ label: 'Registry', to: '/docs/credentialing/registry' },
],
},
{
type: 'dropdown',
label: 'Research',
position: 'right',
items: [
{ label: 'Areas', to: '/docs/research/areas' },
{ label: 'Projects', to: '/docs/research/projects' },
{ label: 'Publications', to: '/docs/research/publications' },
],
},
{
type: 'dropdown',
label: 'Wiki',
position: 'right',
items: [
{ label: 'Ontology 101', to: '/wiki/main-page' },
{ label: 'Courses', to: '/wiki/courses/barry-smith' },
{ label: 'Ontologies', to: '/wiki/ontologies/basic-formal-ontology' },
{ label: 'Books', to: '/wiki/books/why-machines-will-never-rule-the-world' },
{ label: 'Glossary', to: '/wiki/glossary' },
],
},
{
type: 'dropdown',
label: 'Events',
position: 'right',
activeBasePath: '/docs/events',
items: [
{ label: 'Calendar', to: '/docs/events/calendar' },
{ label: 'Office Hours', to: '/docs/events/office-hours' },
{ label: 'Meetings and Workshops', to: '/docs/events/meetings-workshops' },
{ label: 'Ontology 101 Working Group', to: '/docs/events/ontology-101' },
{ label: 'Semantic Mappings Working Group', to: '/docs/events/semantic-mapping' },
{ label: 'Common Core Ontologies Working Groups', to: '/docs/events/common-core-ontologies' },
],
},
{
to: '/docs/affiliates/individuals',
position: 'right',
label: 'Affiliates',
activeBasePath: '/docs/affiliates',
},
{
to: '/docs/donations/overview',
position: 'right',
label: 'Donations',
activeBasePath: '/docs/donations',
},
{ href: 'https://github.com/NCOR-Organization', label: 'GitHub', position: 'right' },
{
to: '/join',
label: 'Join NCOR',
position: 'right',
className: 'button button--primary navbar-join-button',
},
],
},
footer: {
style: 'dark',
links: [
{
title: 'NCOR',
items: [
{
html: `
<p style="text-align: left; max-width: 300px; margin-top: -5px;">
National Center for Ontological Research (NCOR) is an international organization that promotes interdisciplinary research on the theory and application of ontologies.
</p>
`,
},
],
},
{
title: 'Quick Links',
items: [
{ label: 'Home', to: '/' },
{ label: 'About', to: '/docs/about/mission' },
{ label: 'Research', to: '/docs/research/publications' },
{ label: 'Events', to: '/docs/events/office-hours' },
{ label: 'People', to: '/docs/affiliates/individuals' },
],
},
{
title: 'Resources',
items: [
{ label: 'Publications', to: '/docs/research/publications' },
{ label: 'Ontologies', to: '/docs/get-started' },
{ label: 'Useful Links', to: '/docs/useful-links' },
{ label: 'GitHub', href: 'https://github.com/NCOR-Organization' },
],
},
{
title: 'Contact',
items: [
{
html: `
<div style="display: flex; align-items: flex-start; margin-bottom: 8px;">
<svg style="min-width: 20px; margin-right: 8px; margin-top: 4px;" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 2C8.13 2 5 5.13 5 9C5 14.25 12 22 12 22C12 22 19 14.25 19 9C19 5.13 15.87 2 12 2ZM12 11.5C10.62 11.5 9.5 10.38 9.5 9C9.5 7.62 10.62 6.5 12 6.5C13.38 6.5 14.5 7.62 14.5 9C14.5 10.38 13.38 11.5 12 11.5Z" fill="#adbac7"/>
</svg>
<span>
500 Seneca Street<br/>
Buffalo, NY 14204<br/>
United States
</span>
</div>
<div style="display: flex; align-items: center;">
<svg style="min-width: 20px; margin-right: 8px;" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M20 4H4C2.9 4 2.01 4.9 2.01 6L2 18C2 19.1 2.9 20 4 20H20C21.1 20 22 19.1 22 18V6C22 4.9 21.1 4 20 4ZM20 8L12 13L4 8V6L12 11L20 6V8Z" fill="#adbac7"/>
</svg>
<a href="mailto:ncornetwork@gmail.com">ncornetwork@gmail.com</a>
</div>
`,
},
],
},
],
copyright: `© ${new Date().getFullYear()} National Center for Ontological Research. All rights reserved. | <a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a>`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false,
},
}),
stylesheets: [
{
href: 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700;900&display=swap',
type: 'text/css',
},
],
headTags: [
// Scripts
{
tagName: 'script',
attributes: {
type: 'text/javascript',
src: 'https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js',
},
},
{
tagName: 'script',
attributes: { type: 'text/javascript' },
innerHTML: `
(function(){
// TODO: replace with your actual EmailJS user ID or remove if unused
emailjs.init("YOUR_USER_ID");
})();
`,
},
// Global meta tags (migrated from themeConfig.metadata)
{
tagName: 'meta',
attributes: {
name: 'description',
content:
'NCOR is an international non-profit fostering ontology research, education, and interoperability for robust AI and data systems.',
},
},
{ tagName: 'meta', attributes: { property: 'og:site_name', content: 'NCOR Network' } },
],
};
export default config;