forked from finos/architecture-as-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.js
More file actions
57 lines (54 loc) · 1.36 KB
/
docusaurus.config.js
File metadata and controls
57 lines (54 loc) · 1.36 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
/* eslint-disable no-undef */
import remarkReplaceLinks from './src/remark/remark-replace-links.mjs';
module.exports = {
title: 'My Docusaurus Docs',
tagline: 'Generated documentation from CALM',
url: 'http://localhost',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'my-org',
projectName: 'calm-docs',
themeConfig: {
navbar: {
title: 'CALM Documentation',
logo: {
alt: 'Calm Logo',
src: 'img/2025_CALM_Icon.svg',
},
},
},
themes: [
'@docusaurus/theme-mermaid',
],
markdown: {
mermaid: true
},
stylesheets: [
'/css/custom.css'
],
presets: [
[
'classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
routeBasePath: '/',
remarkPlugins: [remarkReplaceLinks]
},
},
],
],
plugins: [
[
require.resolve('docusaurus-plugin-search-local'),
{
indexDocs: true,
indexPages: true,
highlightSearchTermsOnTargetPage: true,
removeDefaultStopWordFilter: true
},
],
],
};