-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocusaurus.config.ts
More file actions
61 lines (54 loc) · 1.47 KB
/
docusaurus.config.ts
File metadata and controls
61 lines (54 loc) · 1.47 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
import type * as Preset from '@docusaurus/preset-classic'
import type { Config } from '@docusaurus/types'
import { themes as prismThemes } from 'prism-react-renderer'
import pkg from './package.json'
const config: Config = {
title: `@fp-tx/core`,
tagline:
'fp-tx is a continuation of fp-ts, a functional programming library for TypeScript inspired by PureScript and Haskell.',
url: 'https://fp-tx.org',
baseUrl: '/',
organizationName: 'fp-tx',
projectName: 'core',
onBrokenLinks: 'warn',
onBrokenMarkdownLinks: 'warn',
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
routeBasePath: '/',
editUrl: 'https://github.com/fp-tx/core/blob/main',
},
blog: false,
} satisfies Preset.Options,
],
],
themeConfig: {
image: 'https://avatars.githubusercontent.com/u/151417963?s=200&v=4',
navbar: {
title: `core v${pkg.version}`,
logo: {
alt: 'fp-tx/core Logo',
src: 'https://avatars.githubusercontent.com/u/151417963?s=200&v=4',
},
items: [
{
href: 'https://github.com/fp-tx/core',
label: 'GitHub',
position: 'right',
},
],
},
footer: {
style: 'dark',
links: [],
copyright: `Copyright © ${new Date().getFullYear()} Jacob Alford`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
},
} satisfies Preset.ThemeConfig,
}
export default config