-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdocusaurus.config.ts
More file actions
45 lines (43 loc) · 1.37 KB
/
docusaurus.config.ts
File metadata and controls
45 lines (43 loc) · 1.37 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
import type { Config } from "@docusaurus/types";
import { headTags } from "./config/head-tags";
import { plugins } from "./config/plugins";
import { presets } from "./config/presets";
import { themeConfig } from "./config/theme-config";
const config: Config = {
baseUrl: "/",
favicon: "img/favicon.ico",
/** Future flags, @see https://docusaurus.io/docs/api/docusaurus-config#future */
future: {
faster: !process.env.VERCEL, // Don't cache when deploying on Vercel
v4: true, // Improve compatibility with the upcoming Docusaurus v4
},
headTags,
onBrokenLinks: "throw",
organizationName: "sablier-labs",
markdown: {
format: "detect",
mermaid: true,
hooks: {
onBrokenMarkdownLinks: "throw",
},
},
plugins,
presets,
projectName: "sablier-docs",
staticDirectories: ["static"],
tagline: "Documentation and guides for Sablier",
stylesheets: [
/** @see https://docusaurus.io/docs/markdown-features/math-equations */
{
crossorigin: "anonymous",
href: "https://cdn.jsdelivr.net/npm/katex@0.13.24/dist/katex.min.css",
integrity: "sha384-odtC+0UGzzFL/6PNoE8rX/SPcQDXBJ+uRepguP4QkPCm2LBxH3FA3y+fKSiJ+AmM",
type: "text/css",
},
],
themeConfig,
themes: ["@docusaurus/theme-mermaid", "docusaurus-theme-github-codeblock"],
title: "Sablier Docs",
url: "https://docs.sablier.com",
};
export default config;