docusaurus.config.js 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. module.exports = {
  2. title: 'netboot.xyz',
  3. tagline: 'your favorite operating systems in one place',
  4. url: 'https://netboot.xyz',
  5. baseUrl: '/',
  6. onBrokenLinks: 'throw',
  7. onBrokenMarkdownLinks: 'warn',
  8. favicon: 'img/favicon.ico',
  9. organizationName: 'netbootxyz',
  10. projectName: 'netboot.xyz',
  11. themeConfig: {
  12. hideableSidebar: true,
  13. docsSideNavCollapsible: true,
  14. colorMode: {
  15. defaultMode: 'light',
  16. disableSwitch: true
  17. },
  18. gtag: {
  19. trackingID: 'G-VBSC8VX50S',
  20. },
  21. algolia: {
  22. apiKey: '789cf842b29871daa2c05f5623dc23c6',
  23. indexName: 'netboot',
  24. },
  25. navbar: {
  26. title: 'netboot.xyz',
  27. logo: {
  28. alt: 'netboot.xyz',
  29. src: 'img/nbxyz-logo.svg',
  30. },
  31. items: [
  32. {
  33. to: 'docs/',
  34. activeBasePath: 'docs',
  35. label: 'Docs',
  36. position: 'left',
  37. },
  38. {
  39. to: 'downloads/',
  40. activeBasePath: 'downloads',
  41. label: 'Downloads',
  42. position: 'left',
  43. },
  44. {
  45. to: 'blog',
  46. label: 'Blog',
  47. position: 'left'
  48. },
  49. {
  50. href: 'https://github.com/netbootxyz/netboot.xyz',
  51. label: 'GitHub',
  52. position: 'right',
  53. },
  54. ],
  55. },
  56. footer: {
  57. style: 'dark',
  58. links: [
  59. {
  60. title: 'Docs',
  61. items: [
  62. {
  63. label: 'Documentation',
  64. to: 'docs/',
  65. },
  66. {
  67. label: 'Downloads',
  68. to: 'downloads/',
  69. }
  70. ],
  71. },
  72. {
  73. title: 'Community',
  74. items: [
  75. {
  76. label: 'Discord',
  77. href: 'https://discord.gg/An6PA2a',
  78. },
  79. {
  80. label: 'Discussions',
  81. href: 'https://github.com/netbootxyz/netboot.xyz/discussions',
  82. },
  83. {
  84. label: 'Twitter',
  85. href: 'https://twitter.com/netbootxyz',
  86. },
  87. ],
  88. },
  89. {
  90. title: 'More',
  91. items: [
  92. {
  93. label: 'Blog',
  94. to: 'blog',
  95. },
  96. {
  97. label: 'Donate',
  98. href: 'https://opencollective.com/netbootxyz/donate',
  99. },
  100. {
  101. label: 'Status',
  102. href: 'https://status.netboot.xyz',
  103. },
  104. {
  105. label: 'GitHub',
  106. href: 'https://github.com/netbootxyz/netboot.xyz',
  107. },
  108. ],
  109. },
  110. ],
  111. copyright: `Copyright © ${new Date().getFullYear()} netboot.xyz`,
  112. },
  113. },
  114. presets: [
  115. [
  116. '@docusaurus/preset-classic',
  117. {
  118. docs: {
  119. sidebarPath: require.resolve('./sidebars.js'),
  120. editUrl:
  121. 'https://github.com/netbootxyz/netboot.xyz-docs/edit/master/',
  122. },
  123. blog: {
  124. showReadingTime: true,
  125. editUrl:
  126. 'https://github.com/netbootxyz/netboot.xyz-docs/edit/master/',
  127. },
  128. theme: {
  129. customCss: require.resolve('./src/css/custom.css'),
  130. },
  131. },
  132. ],
  133. ],
  134. };