docusaurus.config.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. themeConfig: {
  12. algolia: {
  13. apiKey: '81ec882db78f7fed05c51daf973f0362',
  14. indexName: 'frigate'
  15. },
  16. navbar: {
  17. title: 'Frigate',
  18. logo: {
  19. alt: 'Frigate',
  20. src: 'img/logo.svg',
  21. srcDark: 'img/logo-dark.svg',
  22. },
  23. items: [
  24. {
  25. to: '/',
  26. activeBasePath: 'docs',
  27. label: 'Docs',
  28. position: 'left',
  29. },
  30. {
  31. href: 'https://github.com/blakeblackshear/frigate',
  32. label: 'GitHub',
  33. position: 'right',
  34. },
  35. ],
  36. },
  37. sidebarCollapsible: false,
  38. hideableSidebar: true,
  39. footer: {
  40. style: 'dark',
  41. links: [
  42. {
  43. title: 'Community',
  44. items: [
  45. {
  46. label: 'GitHub',
  47. href: 'https://github.com/blakeblackshear/frigate',
  48. },
  49. {
  50. label: 'Discussions',
  51. href: 'https://github.com/blakeblackshear/frigate/discussions',
  52. },
  53. ],
  54. },
  55. ],
  56. copyright: `Copyright © ${new Date().getFullYear()} Blake Blackshear`,
  57. },
  58. },
  59. presets: [
  60. [
  61. '@docusaurus/preset-classic',
  62. {
  63. docs: {
  64. routeBasePath: '/',
  65. sidebarPath: require.resolve('./sidebars.js'),
  66. // Please change this to your repo.
  67. editUrl: 'https://github.com/blakeblackshear/frigate/edit/master/docs/',
  68. },
  69. theme: {
  70. customCss: require.resolve('./src/css/custom.css'),
  71. },
  72. },
  73. ],
  74. ],
  75. };