super-graph/docs/website/docusaurus.config.js

75 lines
1.9 KiB
JavaScript
Raw Permalink Normal View History

2020-05-17 09:11:56 +02:00
module.exports = {
title: "Super Graph",
tagline: "Fetch data without code",
url: "https://supergraph.dev",
baseUrl: "/",
2020-05-18 06:32:53 +02:00
favicon: "img/super-graph-logo.svg",
2020-05-17 09:11:56 +02:00
organizationName: "dosco", // Usually your GitHub org/user name.
projectName: "super-graph", // Usually your repo name.
themeConfig: {
navbar: {
title: "Super Graph",
logo: {
alt: "Super Graph Logo",
2020-05-18 06:32:53 +02:00
src: "img/super-graph-logo.svg",
2020-05-17 09:11:56 +02:00
},
links: [
{
to: "docs/deploy",
activeBasePath: "docs",
label: "Docs",
position: "left",
},
{
href: "https://github.com/dosco/super-graph",
label: "Github",
position: "left",
},
{
label: "Discord",
href: "https://discord.gg/6pSWCTZ",
position: "left",
},
{
label: "Twitter",
href: "https://twitter.com/dosco",
position: "left",
},
{
label: "AbtCode",
href: "https://abtcode.com/s/super-graph",
position: "left",
},
2020-05-17 09:11:56 +02:00
],
},
footer: {
style: "dark",
links: [],
copyright: `Apache Public License 2.0 | Copyright © ${new Date().getFullYear()} Vikram Rangnekar`,
},
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
2020-05-18 06:32:53 +02:00
"https://github.com/dosco/super-graph/edit/master/docs/website",
2020-05-17 09:11:56 +02:00
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
2020-05-18 06:32:53 +02:00
"https://github.com/dosco/super-graph/edit/master/docs/website",
2020-05-17 09:11:56 +02:00
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
themes: ["@docusaurus/theme-live-codeblock"],
};