docusaurus.config.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. module.exports = {
  2. title: 'Metrix++',
  3. tagline: 'Management of source code quality is possible',
  4. url: 'https://your-docusaurus-test-site.com',
  5. baseUrl: '/',
  6. favicon: 'img/favicon.ico',
  7. organizationName: 'facebook', // Usually your GitHub org/user name.
  8. projectName: 'docusaurus', // Usually your repo name.
  9. themeConfig: {
  10. navbar: {
  11. title: 'Metrix++',
  12. logo: {
  13. alt: 'Metrix++ Logo',
  14. src: 'img/logo.svg',
  15. },
  16. links: [
  17. {
  18. to: 'docs/01-overview',
  19. activeBasePath: 'docs',
  20. label: 'Docs',
  21. position: 'left',
  22. },
  23. {to: 'blog', label: 'Blog', position: 'left'},
  24. {
  25. href: 'https://github.com/facebook/docusaurus',
  26. label: 'GitHub',
  27. position: 'right',
  28. },
  29. ],
  30. },
  31. footer: {
  32. style: 'dark',
  33. links: [
  34. {
  35. title: 'Docs',
  36. items: [
  37. {
  38. label: 'Overview',
  39. to: 'docs/01-overview',
  40. },
  41. {
  42. label: 'Download and install',
  43. to: 'docs/02-download-install',
  44. },
  45. {
  46. label: 'Metrics',
  47. to: 'docs/03-metrics',
  48. },
  49. ],
  50. },
  51. {
  52. title: 'Community',
  53. items: [
  54. {
  55. label: 'Stack Overflow',
  56. href: 'https://stackoverflow.com/questions/tagged/docusaurus',
  57. },
  58. {
  59. label: 'Discord',
  60. href: 'https://discordapp.com/invite/docusaurus',
  61. },
  62. // {
  63. // label: 'Twitter',
  64. // href: 'https://twitter.com/docusaurus',
  65. // },
  66. ],
  67. },
  68. {
  69. title: 'More',
  70. items: [
  71. {
  72. label: 'Blog',
  73. to: 'blog',
  74. },
  75. {
  76. label: 'GitHub',
  77. href: 'https://github.com/facebook/docusaurus',
  78. },
  79. ],
  80. },
  81. ],
  82. copyright: `Copyright © ${new Date().getFullYear()} Metrix++.`,
  83. },
  84. },
  85. presets: [
  86. [
  87. '@docusaurus/preset-classic',
  88. {
  89. docs: {
  90. // It is recommended to set document id as docs home page (`docs/` path).
  91. homePageId: 'highlights',
  92. sidebarPath: require.resolve('./sidebars.js'),
  93. // Please change this to your repo.
  94. editUrl:
  95. 'https://github.com/facebook/docusaurus/edit/master/website/',
  96. },
  97. blog: {
  98. showReadingTime: true,
  99. // Please change this to your repo.
  100. editUrl:
  101. 'https://github.com/facebook/docusaurus/edit/master/website/blog/',
  102. },
  103. theme: {
  104. customCss: require.resolve('./src/css/custom.css'),
  105. },
  106. },
  107. ],
  108. ],
  109. };