1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00
checktheroads-hyperglass/docs/docusaurus.config.js

99 lines
3.0 KiB
JavaScript
Raw Normal View History

2020-02-08 00:58:32 -07:00
const githubURL = "https://github.com/checktheroads/hyperglass";
2020-03-01 00:21:30 -07:00
const { googleTrackingId } = process.env;
2020-02-08 00:58:32 -07:00
module.exports = {
title: "hyperglass",
2020-02-25 11:01:05 -07:00
tagline: "the network looking glass that tries to make the internet better.",
2020-02-08 00:58:32 -07:00
url: "https://hyperglass.io",
baseUrl: "/",
favicon: "img/favicon.ico",
organizationName: "checktheroads",
projectName: "hyperglass",
themeConfig: {
2020-03-01 00:21:30 -07:00
googleAnalytics: { trackingID: googleTrackingId || " ", anonymizeIP: false },
gtag: {
trackingID: googleTrackingId || " ",
anonymizeIP: false
},
2020-02-08 00:58:32 -07:00
navbar: {
links: [
{ to: "docs/introduction", label: "Docs", position: "left" },
{ to: "screenshots", label: "Screenshots", position: "left" },
{
href: "https://demo.hyperglass.io",
label: "Demo",
position: "left"
}
]
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
2020-02-08 10:02:35 -07:00
label: "Introduction",
to: "docs/introduction"
},
{
label: "Getting Started",
2020-02-08 00:58:32 -07:00
to: "docs/getting-started"
2020-02-08 10:02:35 -07:00
},
{
label: "Configuration",
to: "docs/configuration"
2020-02-08 00:58:32 -07:00
}
]
},
{
title: "Community",
items: [
{
2020-02-25 11:01:05 -07:00
label: "Gitter",
href: "https://gitter.im/hyperglass"
2020-02-08 00:58:32 -07:00
},
{
2020-02-25 11:01:05 -07:00
label: "Keybase",
href: "https://keybase.io/team/hyperglass"
2020-02-08 00:58:32 -07:00
}
]
},
{
title: "Social",
items: [
{
label: "GitHub",
href: githubURL
},
{
label: "Twitter",
href: "https://twitter.com/checktheroads"
}
]
}
]
}
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
editUrl: githubURL + "/edit/master/docs/"
},
theme: {
customCss: require.resolve("./src/css/custom.css")
}
}
]
2020-03-01 00:21:30 -07:00
],
plugins: [
"@docusaurus/plugin-google-analytics",
"@docusaurus/plugin-google-gtag",
"@docusaurus/plugin-sitemap"
2020-02-08 00:58:32 -07:00
]
};