mirror of
https://github.com/meshtastic/meshtastic.git
synced 2024-12-30 07:59:54 -08:00
135 lines
3.7 KiB
JavaScript
135 lines
3.7 KiB
JavaScript
// @ts-check
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
const config = {
|
|
title: "Meshtastic",
|
|
tagline: "Open Source hiking, pilot, skiing and secure GPS mesh communicator",
|
|
url: "https://meshtastic.org",
|
|
baseUrl: "/",
|
|
onBrokenLinks: "throw",
|
|
onBrokenMarkdownLinks: "warn",
|
|
favicon: "design/web/favicon.ico",
|
|
organizationName: "meshtastic",
|
|
projectName: "meshtastic",
|
|
themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ {
|
|
colorMode: {
|
|
respectPrefersColorScheme: true,
|
|
},
|
|
announcementBar: {
|
|
id: "play_store_workaround",
|
|
content:
|
|
'Android app unavailable in the Google Play Store store. Install by <a href="/docs/software/android/android-installation">side-loading</a> from <a href="https://github.com/meshtastic/Meshtastic-Android/releases">GitHub</a> or <a href="https://www.amazon.com/Geeksville-Industries-Meshtastic/dp/B08CY9394Q">Amazon</a>.',
|
|
backgroundColor: "#ff9999",
|
|
textColor: "#091E42",
|
|
isCloseable: true,
|
|
},
|
|
navbar: {
|
|
title: "Meshtastic",
|
|
hideOnScroll: true,
|
|
logo: {
|
|
alt: "Meshtastic Logo",
|
|
src: "design/logo/svg/Mesh_Logo_Black.svg",
|
|
srcDark: "design/logo/svg/Mesh_Logo_White.svg",
|
|
},
|
|
items: [
|
|
{
|
|
label: "Firmware",
|
|
to: "firmware",
|
|
activeBasePath: "firmware",
|
|
},
|
|
{
|
|
label: "Showcase",
|
|
to: "showcase",
|
|
activeBasePath: "showcase",
|
|
},
|
|
{
|
|
label: "Docs",
|
|
to: "docs/getting-started",
|
|
activeBasePath: "docs/getting-started",
|
|
},
|
|
{
|
|
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: "Get Started",
|
|
to: "docs/getting-started",
|
|
},
|
|
{
|
|
label: "Showcase",
|
|
to: "showcase",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "Community",
|
|
items: [
|
|
{
|
|
label: "Forum",
|
|
href: "https://meshtastic.discourse.group",
|
|
},
|
|
{
|
|
label: "Discord",
|
|
href: "https://discord.gg/UQJ5QuM7vq",
|
|
},
|
|
],
|
|
},
|
|
{
|
|
title: "More",
|
|
items: [
|
|
{
|
|
label: "GitHub",
|
|
href: "https://github.com/meshtastic/meshtastic",
|
|
},
|
|
{
|
|
label: "Legal",
|
|
to: "docs/legal",
|
|
},
|
|
],
|
|
},
|
|
],
|
|
copyright: `<a href="https://vercel.com/?utm_source=meshtastic&utm_campaign=oss" style="color: white">Powered by ▲ Vercel</a> | Meshtastic® trademark is a registered trademark belonging to Geeksville Industries LLC`,
|
|
},
|
|
algolia: {
|
|
apiKey: "01ad7e13d3fe392d2ad26da3c69dbc21",
|
|
indexName: "meshtastic",
|
|
contextualSearch: false,
|
|
searchParameters: {},
|
|
},
|
|
},
|
|
|
|
presets: [
|
|
[
|
|
"@docusaurus/preset-classic",
|
|
/** @type {import('@docusaurus/preset-classic').Options} */
|
|
{
|
|
docs: {
|
|
sidebarPath: require.resolve("./sidebars.js"),
|
|
editUrl: "https://github.com/meshtastic/meshtastic/edit/master/",
|
|
},
|
|
theme: {
|
|
customCss: require.resolve("./src/css/custom.css"),
|
|
},
|
|
},
|
|
],
|
|
],
|
|
plugins: ["@docusaurus/plugin-ideal-image"],
|
|
};
|
|
|
|
module.exports = config;
|