blakeblackshear.frigate/docs/docusaurus.config.js

90 lines
2.1 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',
2021-09-26 19:27:01 +02:00
url: 'https://docs.frigate.video',
baseUrl: '/',
2021-01-21 01:26:49 +01:00
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'blakeblackshear',
projectName: 'frigate',
themeConfig: {
2021-01-26 04:13:33 +01:00
algolia: {
apiKey: '81ec882db78f7fed05c51daf973f0362',
indexName: 'frigate',
2021-01-26 04:13:33 +01:00
},
2021-01-21 01:26:49 +01:00
navbar: {
title: 'Frigate',
logo: {
alt: 'Frigate',
src: 'img/logo.svg',
srcDark: 'img/logo-dark.svg',
},
items: [
{
to: '/',
activeBasePath: 'docs',
label: 'Docs',
position: 'left',
},
2021-10-23 16:41:32 +02:00
{
href: 'https://frigate.video',
label: 'Website',
position: 'right',
},
{
href: 'http://demo.frigate.video',
2021-10-23 16:41:32 +02:00
label: 'Demo',
position: 'right',
},
2021-01-21 01:26:49 +01:00
{
href: 'https://github.com/blakeblackshear/frigate',
label: 'GitHub',
position: 'right',
},
],
},
sidebarCollapsible: false,
hideableSidebar: true,
footer: {
style: 'dark',
links: [
{
title: 'Community',
items: [
{
label: 'GitHub',
href: 'https://github.com/blakeblackshear/frigate',
},
{
label: 'Discussions',
href: 'https://github.com/blakeblackshear/frigate/discussions',
},
],
},
],
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',
{
docs: {
routeBasePath: '/',
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
editUrl: 'https://github.com/blakeblackshear/frigate/edit/master/docs/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};