docusaurus.config.js 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. module.exports = {
  2. title: 'Metrix++',
  3. tagline: 'Management of source code quality is possible',
  4. url: 'https://metrixplusplus.github.io/',
  5. baseUrl: '/',
  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. license: `Code licensed under MIT license, documentation under CC BY 3.0.`,
  82. },
  83. },
  84. presets: [
  85. [
  86. '@docusaurus/preset-classic',
  87. {
  88. docs: {
  89. // It is recommended to set document id as docs home page (`docs/` path).
  90. homePageId: 'highlights',
  91. sidebarPath: require.resolve('./sidebars.js'),
  92. // Please change this to your repo.
  93. editUrl:
  94. 'https://metrixplusplus.github.io/',
  95. },
  96. blog: {
  97. showReadingTime: true,
  98. // Please change this to your repo.
  99. editUrl:
  100. 'https://metrixplusplus.github.io/',
  101. },
  102. theme: {
  103. customCss: require.resolve('./src/css/custom.css'),
  104. },
  105. },
  106. ],
  107. ],
  108. };