2020-02-08 00:58:32 -07:00
|
|
|
const githubURL = "https://github.com/checktheroads/hyperglass";
|
|
|
|
|
2020-03-02 07:22:27 -07:00
|
|
|
const { googleTrackingId, algoliaKey } = process.env;
|
2020-03-01 00:21:30 -07:00
|
|
|
|
2020-07-17 00:54:35 -07:00
|
|
|
const docusaurusConfig = {
|
2020-06-02 01:37:26 -07:00
|
|
|
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: {
|
2020-07-04 15:01:25 -07:00
|
|
|
image: "opengraph.jpg",
|
2020-06-02 01:37:26 -07:00
|
|
|
googleAnalytics: {
|
|
|
|
trackingID: googleTrackingId || " ",
|
|
|
|
anonymizeIP: false,
|
|
|
|
},
|
|
|
|
algolia: {
|
2020-07-17 00:54:35 -07:00
|
|
|
apiKey: algoliaKey || "dev",
|
2020-06-02 01:37:26 -07:00
|
|
|
indexName: "hyperglass",
|
|
|
|
},
|
2021-05-30 12:03:18 -07:00
|
|
|
prism: {
|
|
|
|
additionalLanguages: ["shell-session", "ini", "nginx", "yaml"],
|
|
|
|
theme: require("./src/prism-dracula"),
|
|
|
|
},
|
2020-06-02 01:37:26 -07:00
|
|
|
navbar: {
|
2021-05-30 12:03:18 -07:00
|
|
|
items: [
|
2020-06-02 01:37:26 -07:00
|
|
|
{ to: "docs/introduction", label: "Docs", position: "left" },
|
2021-01-03 00:09:48 -07:00
|
|
|
{ href: "https://demo.hyperglass.io", label: "Demo", position: "left" },
|
2021-05-30 12:03:18 -07:00
|
|
|
{
|
|
|
|
href: githubURL,
|
|
|
|
position: "right",
|
|
|
|
className: "header-github-link",
|
|
|
|
"aria-label": "GitHub Repository",
|
|
|
|
},
|
2020-06-02 01:37:26 -07:00
|
|
|
],
|
|
|
|
},
|
|
|
|
footer: {
|
|
|
|
links: [
|
|
|
|
{
|
|
|
|
title: "Docs",
|
|
|
|
items: [
|
|
|
|
{
|
|
|
|
label: "Introduction",
|
|
|
|
to: "docs/introduction",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "Getting Started",
|
|
|
|
to: "docs/getting-started",
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: "Configuration",
|
2020-07-17 00:54:35 -07:00
|
|
|
to: "docs/parameters",
|
2020-06-02 01:37:26 -07:00
|
|
|
},
|
|
|
|
],
|
2020-02-08 00:58:32 -07:00
|
|
|
},
|
2020-06-02 01:37:26 -07:00
|
|
|
{
|
|
|
|
title: "Community",
|
|
|
|
items: [
|
|
|
|
{
|
2021-05-30 12:03:18 -07:00
|
|
|
label: "Slack",
|
|
|
|
href: "https://netdev.chat",
|
2020-06-02 01:37:26 -07:00
|
|
|
},
|
|
|
|
{
|
2021-05-30 12:03:18 -07:00
|
|
|
label: "Telegram",
|
|
|
|
href: "https://t.me/hyperglasslg",
|
2020-06-02 01:37:26 -07:00
|
|
|
},
|
|
|
|
],
|
2020-04-11 17:44:32 -07:00
|
|
|
},
|
2020-06-02 01:37:26 -07:00
|
|
|
{
|
|
|
|
title: "Social",
|
|
|
|
items: [
|
2020-02-08 00:58:32 -07:00
|
|
|
{
|
2020-06-02 01:37:26 -07:00
|
|
|
label: "GitHub",
|
|
|
|
href: githubURL,
|
2020-04-11 17:44:32 -07:00
|
|
|
},
|
2020-06-02 01:37:26 -07:00
|
|
|
{
|
|
|
|
label: "Twitter",
|
|
|
|
href: "https://twitter.com/checktheroads",
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
"@docusaurus/preset-classic",
|
|
|
|
{
|
|
|
|
docs: {
|
|
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
2020-07-17 00:54:35 -07:00
|
|
|
editUrl: githubURL + "/edit/v1.0.0/docs/",
|
2020-06-02 01:37:26 -07:00
|
|
|
},
|
|
|
|
theme: {
|
2021-05-30 12:03:18 -07:00
|
|
|
customCss: [require.resolve("./src/css/custom.css")],
|
2020-06-02 01:37:26 -07:00
|
|
|
},
|
|
|
|
},
|
2020-04-11 17:44:32 -07:00
|
|
|
],
|
2020-06-02 01:37:26 -07:00
|
|
|
],
|
2020-07-17 00:54:35 -07:00
|
|
|
plugins: ["@docusaurus/plugin-google-analytics"],
|
2020-02-08 00:58:32 -07:00
|
|
|
};
|
2020-07-17 00:54:35 -07:00
|
|
|
|
|
|
|
module.exports = docusaurusConfig;
|