blakeblackshear.frigate/docs/docusaurus.config.js

103 lines
2.4 KiB
JavaScript
Raw Normal View History

const path = require("path");
2021-01-21 01:26:49 +01:00
module.exports = {
title: "Frigate",
tagline: "NVR With Realtime Object Detection for IP Cameras",
url: "https://docs.frigate.video",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "blakeblackshear",
projectName: "frigate",
themes: ["@docusaurus/theme-mermaid"],
markdown: {
mermaid: true,
},
themeConfig: {
2021-01-26 04:13:33 +01:00
algolia: {
appId: "WIURGBNBPY",
apiKey: "d02cc0a6a61178b25da550212925226b",
indexName: "frigate",
2021-01-26 04:13:33 +01:00
},
docs: {
sidebar: {
hideable: true,
},
},
prism: {
additionalLanguages: ["bash", "json"],
},
2021-01-21 01:26:49 +01:00
navbar: {
title: "Frigate",
2021-01-21 01:26:49 +01:00
logo: {
alt: "Frigate",
src: "img/logo.svg",
srcDark: "img/logo-dark.svg",
2021-01-21 01:26:49 +01:00
},
items: [
{
to: "/",
activeBasePath: "docs",
label: "Docs",
position: "left",
2021-01-21 01:26:49 +01:00
},
2021-10-23 16:41:32 +02:00
{
href: "https://frigate.video",
label: "Website",
position: "right",
2021-10-23 16:41:32 +02:00
},
{
href: "http://demo.frigate.video",
label: "Demo",
position: "right",
2021-10-23 16:41:32 +02:00
},
2021-01-21 01:26:49 +01:00
{
href: "https://github.com/blakeblackshear/frigate",
label: "GitHub",
position: "right",
2021-01-21 01:26:49 +01:00
},
],
},
footer: {
style: "dark",
2021-01-21 01:26:49 +01:00
links: [
{
title: "Community",
2021-01-21 01:26:49 +01:00
items: [
{
label: "GitHub",
href: "https://github.com/blakeblackshear/frigate",
2021-01-21 01:26:49 +01:00
},
{
label: "Discussions",
href: "https://github.com/blakeblackshear/frigate/discussions",
2021-01-21 01:26:49 +01:00
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Blake Blackshear`,
},
},
plugins: [path.resolve(__dirname, "plugins", "raw-loader")],
2021-01-21 01:26:49 +01:00
presets: [
[
"@docusaurus/preset-classic",
2021-01-21 01:26:49 +01:00
{
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
2021-01-21 01:26:49 +01:00
// Please change this to your repo.
editUrl:
"https://github.com/blakeblackshear/frigate/edit/master/docs/",
sidebarCollapsible: false,
2021-01-21 01:26:49 +01:00
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
2021-01-21 01:26:49 +01:00
},
},
],
],
};