docusaurus.config.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. module.exports = {
  2. title: 'Frigate',
  3. tagline: 'NVR With Realtime Object Detection for IP Cameras',
  4. url: 'https://blakeblackshear.github.io',
  5. baseUrl: '/frigate/',
  6. onBrokenLinks: 'throw',
  7. onBrokenMarkdownLinks: 'warn',
  8. favicon: 'img/favicon.ico',
  9. organizationName: 'blakeblackshear',
  10. projectName: 'frigate',
  11. algolia: {
  12. apiKey: '81ec882db78f7fed05c51daf973f0362',
  13. indexName: 'frigate',
  14. algoliaOptions: { 'facetFilters': ["type:$TYPE"] }
  15. },
  16. themeConfig: {
  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. presets: [
  61. [
  62. '@docusaurus/preset-classic',
  63. {
  64. docs: {
  65. routeBasePath: '/',
  66. sidebarPath: require.resolve('./sidebars.js'),
  67. // Please change this to your repo.
  68. editUrl: 'https://github.com/blakeblackshear/frigate/edit/master/docs/',
  69. },
  70. theme: {
  71. customCss: require.resolve('./src/css/custom.css'),
  72. },
  73. },
  74. ],
  75. ],
  76. };