mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
101 lines
2.4 KiB
JavaScript
Executable File
101 lines
2.4 KiB
JavaScript
Executable File
const githubURL = "https://github.com/checktheroads/hyperglass";
|
|
|
|
const { googleTrackingId, algoliaKey } = process.env;
|
|
|
|
const docusaurusConfig = {
|
|
title: "hyperglass",
|
|
tagline: "the network looking glass that tries to make the internet better.",
|
|
url: "https://hyperglass.io",
|
|
baseUrl: "/",
|
|
favicon: "img/favicon.ico",
|
|
organizationName: "checktheroads",
|
|
projectName: "hyperglass",
|
|
themeConfig: {
|
|
image: "opengraph.jpg",
|
|
googleAnalytics: {
|
|
trackingID: googleTrackingId || " ",
|
|
anonymizeIP: false,
|
|
},
|
|
algolia: {
|
|
apiKey: algoliaKey || "dev",
|
|
indexName: "hyperglass",
|
|
},
|
|
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: [
|
|
{
|
|
label: "Introduction",
|
|
to: "docs/introduction",
|
|
},
|
|
{
|
|
label: "Getting Started",
|
|
to: "docs/getting-started",
|
|
},
|
|
{
|
|
label: "Configuration",
|
|
to: "docs/parameters",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Community",
|
|
items: [
|
|
{
|
|
label: "Telegram",
|
|
href: "https://t.me/hyperglasslg",
|
|
},
|
|
{
|
|
label: "Gitter",
|
|
href: "https://gitter.im/hyperglass",
|
|
},
|
|
{
|
|
label: "Keybase",
|
|
href: "https://keybase.io/team/hyperglass",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
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/v1.0.0/docs/",
|
|
},
|
|
theme: {
|
|
customCss: require.resolve("./src/css/custom.css"),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
plugins: ["@docusaurus/plugin-google-analytics"],
|
|
};
|
|
|
|
module.exports = docusaurusConfig;
|