meshtastic/website/docusaurus.config.js

137 lines
3.4 KiB
JavaScript
Raw Normal View History

2021-04-01 17:34:44 -07:00
module.exports = {
title: "Meshtastic",
tagline: "Open Source hiking, pilot, skiing and secure GPS mesh communicator",
url: "https://meshtastic.org",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/meshtastic-design/web/favicon.ico",
organizationName: "meshtastic",
projectName: "meshtastic",
themeConfig: {
colorMode: {
respectPrefersColorScheme: true,
},
navbar: {
title: "Meshtastic",
logo: {
alt: "Meshtastic Logo",
src: "img/meshtastic-design/logo/svg/Mesh_Logo_Black.svg",
srcDark: "img/meshtastic-design/logo/svg/Mesh_Logo_White.svg",
},
items: [
{
to: "docs/getting-started",
activeBasePath: "docs/getting-started",
label: "Getting Started",
position: "left",
},
{
2021-04-11 18:29:30 -07:00
to: "docs/software",
activeBasePath: "docs/software",
label: "Software",
position: "left",
},
{
2021-04-11 18:29:30 -07:00
to: "docs/hardware",
activeBasePath: "docs/hardware",
label: "Hardware",
position: "left",
},
{
2021-04-11 18:29:30 -07:00
to: "docs/developers",
activeBasePath: "docs/developers",
label: "Developers",
2021-04-01 17:34:44 -07:00
position: "left",
},
{
href: "https://meshtastic.discourse.group",
label: "Forum",
position: "left",
},
{
href: "https://github.com/meshtastic/meshtastic",
position: "right",
className: "header-github-link",
"aria-label": "GitHub repository",
},
],
},
footer: {
style: "dark",
links: [
{
title: "Docs",
items: [
{
label: "Getting Started",
to: "docs/getting-started",
2021-04-01 17:34:44 -07:00
},
{
label: "Software",
2021-04-11 18:29:30 -07:00
to: "docs/software",
2021-04-01 17:34:44 -07:00
},
{
label: "Hardware",
2021-04-11 18:29:30 -07:00
to: "docs/hardware",
2021-04-01 17:34:44 -07:00
},
{
label: "Developers",
2021-04-11 18:29:30 -07:00
to: "docs/developers",
2021-04-01 17:34:44 -07:00
},
],
},
{
title: "Community",
items: [
{
label: "Forum",
href: "https://meshtastic.discourse.group",
2021-04-01 17:34:44 -07:00
},
{
label: "Slack",
2021-04-11 18:29:30 -07:00
href: "https://meshtasticdev.slack.com",
2021-04-01 17:34:44 -07:00
},
],
},
{
title: "More",
items: [
{
label: "GitHub",
href: "https://github.com/meshtastic/meshtastic",
},
2021-04-17 06:54:35 -07:00
{
label: "Legal",
to: "docs/legal",
},
2021-04-01 17:34:44 -07:00
],
},
],
copyright: `Meshtastic® trademark is a registered trademark belonging to Geeksville Industries LLC`,
},
2021-04-21 00:59:45 -07:00
algolia: {
apiKey: '01ad7e13d3fe392d2ad26da3c69dbc21',
indexName: 'meshtastic',
contextualSearch: false,
searchParameters: {},
},
2021-04-01 17:34:44 -07:00
},
presets: [
[
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
"https://github.com/meshtastic/meshtastic/edit/master/website/",
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
},
},
],
],
};