docusaurus.config.js 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. module.exports = {
  2. title: 'Metrix++',
  3. tagline: 'Management of source code quality is possible',
  4. url: 'https://metrixplusplus.github.io/',
  5. baseUrl: '/metrixplusplus/',
  6. favicon: 'img/favicon.png',
  7. projectName: 'metrixplusplus', // Usually your repo name.
  8. themeConfig: {
  9. navbar: {
  10. title: 'Metrix++',
  11. logo: {
  12. alt: 'Metrix++',
  13. src: 'img/favicon.png',
  14. },
  15. items: [
  16. {
  17. to: 'docs/01-u-overview',
  18. activeBasePath: 'docs',
  19. label: 'Docs',
  20. position: 'left',
  21. },
  22. {
  23. href: 'https://github.com/metrixplusplus/metrixplusplus',
  24. label: 'GitHub',
  25. position: 'right',
  26. },
  27. ],
  28. },
  29. footer: {
  30. style: 'dark',
  31. links: [
  32. {
  33. title: 'Docs',
  34. items: [
  35. {
  36. label: 'Users Manual',
  37. to: 'docs/01-u-overview',
  38. },
  39. {
  40. label: 'Developers Manual',
  41. to: 'docs/01-d-file',
  42. },
  43. ],
  44. },
  45. {
  46. title: 'Community',
  47. items: [
  48. {
  49. label: 'GitHub',
  50. href: 'https://github.com/metrixplusplus/',
  51. },
  52. {
  53. label: 'Open issues',
  54. href: 'https://github.com/metrixplusplus/metrixplusplus/issues',
  55. },
  56. {
  57. label: 'Changelog',
  58. href: 'https://github.com/metrixplusplus/metrixplusplus/blob/master/CHANGELOG.md',
  59. },
  60. ],
  61. },
  62. {
  63. title: 'Feedback',
  64. items: [
  65. {
  66. label: 'Ask question',
  67. href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
  68. },
  69. {
  70. label: 'Report defect',
  71. href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
  72. },
  73. {
  74. label: 'Feature request',
  75. href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
  76. },
  77. ],
  78. },
  79. ],
  80. copyright: `Copyright © 2009 - ${new Date().getFullYear()}, Metrix++ Project.`,
  81. },
  82. },
  83. presets: [
  84. [
  85. '@docusaurus/preset-classic',
  86. {
  87. docs: {
  88. // It is recommended to set document id as docs home page (`docs/` path).
  89. homePageId: 'highlights',
  90. sidebarPath: require.resolve('./sidebars.js'),
  91. // Please change this to your repo.
  92. editUrl:
  93. 'https://metrixplusplus.github.io/',
  94. },
  95. blog: {
  96. showReadingTime: true,
  97. // Please change this to your repo.
  98. editUrl:
  99. 'https://metrixplusplus.github.io/',
  100. },
  101. theme: {
  102. customCss: require.resolve('./src/css/custom.css'),
  103. },
  104. },
  105. ],
  106. ],
  107. };