docusaurus.config.js 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. const path = require('path');
  2. module.exports = {
  3. title: 'Frigate',
  4. tagline: 'NVR With Realtime Object Detection for IP Cameras',
  5. url: 'https://docs.frigate.video',
  6. baseUrl: '/',
  7. onBrokenLinks: 'throw',
  8. onBrokenMarkdownLinks: 'warn',
  9. favicon: 'img/favicon.ico',
  10. organizationName: 'blakeblackshear',
  11. projectName: 'frigate',
  12. themeConfig: {
  13. algolia: {
  14. apiKey: '81ec882db78f7fed05c51daf973f0362',
  15. indexName: 'frigate',
  16. },
  17. navbar: {
  18. title: 'Frigate',
  19. logo: {
  20. alt: 'Frigate',
  21. src: 'img/logo.svg',
  22. srcDark: 'img/logo-dark.svg',
  23. },
  24. items: [
  25. {
  26. to: '/',
  27. activeBasePath: 'docs',
  28. label: 'Docs',
  29. position: 'left',
  30. },
  31. {
  32. href: 'https://frigate.video',
  33. label: 'Website',
  34. position: 'right',
  35. },
  36. {
  37. href: 'https://demo.frigate.video',
  38. label: 'Demo',
  39. position: 'right',
  40. },
  41. {
  42. href: 'https://github.com/blakeblackshear/frigate',
  43. label: 'GitHub',
  44. position: 'right',
  45. },
  46. ],
  47. },
  48. sidebarCollapsible: false,
  49. hideableSidebar: true,
  50. footer: {
  51. style: 'dark',
  52. links: [
  53. {
  54. title: 'Community',
  55. items: [
  56. {
  57. label: 'GitHub',
  58. href: 'https://github.com/blakeblackshear/frigate',
  59. },
  60. {
  61. label: 'Discussions',
  62. href: 'https://github.com/blakeblackshear/frigate/discussions',
  63. },
  64. ],
  65. },
  66. ],
  67. copyright: `Copyright © ${new Date().getFullYear()} Blake Blackshear`,
  68. },
  69. },
  70. plugins: [path.resolve(__dirname, 'plugins', 'raw-loader')],
  71. presets: [
  72. [
  73. '@docusaurus/preset-classic',
  74. {
  75. docs: {
  76. routeBasePath: '/',
  77. sidebarPath: require.resolve('./sidebars.js'),
  78. // Please change this to your repo.
  79. editUrl: 'https://github.com/blakeblackshear/frigate/edit/master/docs/',
  80. },
  81. theme: {
  82. customCss: require.resolve('./src/css/custom.css'),
  83. },
  84. },
  85. ],
  86. ],
  87. };