-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathdocusaurus.config.js
39 lines (39 loc) · 1.27 KB
/
docusaurus.config.js
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
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: "TypeScriptToLua",
// TODO: Remove
tagline: "",
url: "https://typescripttolua.github.io",
baseUrl: "/",
favicon: "images/favicon.ico",
themeConfig: {
navbar: {
title: "TypeScriptToLua",
logo: { src: "images/logo.png" },
links: [
{ to: "play", label: "Playground", position: "left" },
{ href: "https://discord.gg/BWAq58Y", label: "Discord", position: "right" },
{ href: "https://github.com/TypeScriptToLua/TypeScriptToLua", label: "GitHub", position: "right" },
],
},
prism: {
additionalLanguages: ["lua"],
theme: require("prism-react-renderer/themes/github"),
darkTheme: require("prism-react-renderer/themes/vsDark"),
},
},
presets: [
[
"@docusaurus/preset-classic",
{
theme: {
customCss: require.resolve("./src/custom.scss"),
},
pages: {
include: ["index.tsx", "play/index.tsx"],
},
},
],
],
plugins: [require.resolve("./docusaurus-plugin")],
};