forked from pyth-network/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.config.tsx
More file actions
52 lines (50 loc) · 1.25 KB
/
theme.config.tsx
File metadata and controls
52 lines (50 loc) · 1.25 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
import { DocsThemeConfig } from "nextra-theme-docs";
import Logo from "./components/Logo";
// TODO: populate this properly
const config: DocsThemeConfig = {
logo: <Logo />,
logoLink: "/",
project: {
link: "https://github.com/pyth-network/",
},
chat: {
link: "https://discord.gg/invite/PythNetwork",
},
docsRepositoryBase: "https://github.com/pyth-network/documentation",
footer: {
text: "Pyth Network Documentation",
},
darkMode: false,
nextThemes: {
forcedTheme: "dark",
},
sidebar: {
defaultMenuCollapseLevel: 1,
},
navigation: false,
useNextSeoProps() {
return {
titleTemplate: "%s – Pyth Network Documentation",
openGraph: {
url: "https://docs.pyth.network/",
title: "Pyth Network Documentation",
description: "Pyth Network Documentation",
images: [
{
url: "https://docs.pyth.network/og-image.png",
width: 1200,
height: 630,
alt: "Pyth Network Documentation OG Image",
type: "image/png",
},
],
},
twitter: {
handle: "@PythNetwork",
site: "https://pyth.network/",
cardType: "summary_large_image",
},
};
},
};
export default config;