-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocusaurus.config.ts
110 lines (108 loc) · 3.08 KB
/
docusaurus.config.ts
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
import algoliaConfig from './config/algolia-config';
import type { Config } from '@docusaurus/types';
import { draculaThemeConfig } from './config/prisma-theme.config';
const config: Config = {
title: 'Suites Documentation',
tagline: 'A meta-framework that focuses on helping developers build solid test suites, eliminates boilerplate code, and improves their unit testing process',
organizationName: 'suites-dev',
url: 'https://suites.dev',
baseUrl: '/',
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.png',
projectName: 'suites',
headTags: [
{
tagName: 'link',
attributes: {
rel: 'preconnect',
href: 'https://fonts.googleapis.com',
},
},
],
i18n: {
defaultLocale: 'en',
locales: ['en'],
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
path: 'docs',
routeBasePath: 'docs',
sidebarPath: require.resolve('./config/docs-sidebars.js'),
remarkPlugins: [
[require('@docusaurus/remark-plugin-npm2yarn'), { sync: true }],
],
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
blog: false,
gtag: {
trackingID: 'G-G7FJBNFPJJ',
anonymizeIP: true,
},
},
],
],
themeConfig: {
metadata: [
{
name: 'keywords',
content: 'auto mocking, meta framework, jest, sinon, vitest, dependency injection, inversion of control, nestjs, inversifyjs'
},
{ name: 'author', content: 'Suites' },
{
property: 'description',
content: 'A meta-framework that focuses on helping developers build solid test suites, eliminates boilerplate code, and improves their unit testing process.'
},
{ property: 'og:title', content: 'Suites' },
{
property: 'og:description',
name: 'description',
content: 'A meta-framework that focuses on helping developers build solid test suites, eliminates boilerplate code, and improves their unit testing process.'
},
{ property: 'og:image', name: 'image', content: 'https://suites.dev/img/banner.png' },
{ property: 'og:url', content: 'https://suites.dev' },
{ property: 'og:type', content: 'website' }
],
colorMode: {
disableSwitch: true,
defaultMode: 'dark',
},
algolia: algoliaConfig,
navbar: {
title: 'Suites',
logo: {
alt: 'Suites Logo',
src: 'img/logo.png',
},
items: [
{
to: '/docs',
position: 'left',
label: 'Docs',
},
{
to: '/docs/overview/quickstart',
position: 'left',
label: 'Quick Start',
},
{
to: '/docs/developer-guide/unit-tests/',
position: 'left',
label: 'Unit Testing',
},
{
href: 'https://github.com/suites-dev/suites',
position: 'right',
className: 'header-github-link',
},
],
},
prism: draculaThemeConfig,
},
};
export default config;