docusaurus.config.js 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. const path = require('path');
  2. module.exports = {
  3. title: 'Frigate',
  4. tagline: 'NVR With Realtime Object Detection for IP Cameras',
  5. url: 'https://blakeblackshear.github.io',
  6. baseUrl: '/frigate/',
  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://github.com/blakeblackshear/frigate',
  33. label: 'GitHub',
  34. position: 'right',
  35. },
  36. ],
  37. },
  38. sidebarCollapsible: false,
  39. hideableSidebar: true,
  40. footer: {
  41. style: 'dark',
  42. links: [
  43. {
  44. title: 'Community',
  45. items: [
  46. {
  47. label: 'GitHub',
  48. href: 'https://github.com/blakeblackshear/frigate',
  49. },
  50. {
  51. label: 'Discussions',
  52. href: 'https://github.com/blakeblackshear/frigate/discussions',
  53. },
  54. ],
  55. },
  56. ],
  57. copyright: `Copyright © ${new Date().getFullYear()} Blake Blackshear`,
  58. },
  59. },
  60. plugins: [path.resolve(__dirname, 'plugins', 'raw-loader')],
  61. presets: [
  62. [
  63. '@docusaurus/preset-classic',
  64. {
  65. docs: {
  66. routeBasePath: '/',
  67. sidebarPath: require.resolve('./sidebars.js'),
  68. // Please change this to your repo.
  69. editUrl: 'https://github.com/blakeblackshear/frigate/edit/master/docs/',
  70. },
  71. theme: {
  72. customCss: require.resolve('./src/css/custom.css'),
  73. },
  74. },
  75. ],
  76. ],
  77. };