docusaurus.config.js 1.7 KB

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