docusaurus.config.js 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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.ico',
  7. projectName: 'metrixplusplus', // Usually your repo name.
  8. themeConfig: {
  9. navbar: {
  10. title: 'Metrix++',
  11. logo: {
  12. alt: 'Metrix++',
  13. src: 'img/logo.svg',
  14. },
  15. links: [
  16. {
  17. to: 'docs/01-m-overview',
  18. activeBasePath: 'docs',
  19. label: 'Docs',
  20. position: 'left',
  21. },
  22. {to: 'blog', label: 'Blog', position: 'left'},
  23. {
  24. href: 'https://github.com/metrixplusplus/metrixplusplus',
  25. label: 'GitHub',
  26. position: 'right',
  27. },
  28. ],
  29. },
  30. footer: {
  31. style: 'dark',
  32. links: [
  33. {
  34. title: 'Docs',
  35. items: [
  36. {
  37. label: 'Users Manual',
  38. to: 'docs/01-m-overview',
  39. },
  40. {
  41. label: 'Developers Manual',
  42. to: 'docs/01-d-file',
  43. },
  44. ],
  45. },
  46. {
  47. title: 'Community',
  48. items: [
  49. {
  50. label: 'Ask question',
  51. href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
  52. },
  53. {
  54. label: 'Report defect',
  55. href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
  56. },
  57. ],
  58. },
  59. {
  60. title: 'Extentions',
  61. items: [
  62. {
  63. label: 'Feature request',
  64. href: 'https://github.com/metrixplusplus/metrixplusplus/issues/new',
  65. },
  66. {
  67. label: 'Open issues',
  68. href: 'https://github.com/metrixplusplus/metrixplusplus/issues',
  69. },
  70. {
  71. label: 'Changelog',
  72. href: 'https://github.com/metrixplusplus/metrixplusplus/blob/master/CHANGELOG.md',
  73. },
  74. ],
  75. },
  76. {
  77. title: 'More',
  78. items: [
  79. {
  80. label: 'Blog',
  81. to: 'blog',
  82. },
  83. {
  84. label: 'GitHub',
  85. href: 'https://github.com/metrixplusplus/',
  86. },
  87. ],
  88. },
  89. ],
  90. copyright: `Copyright © 2009 - ${new Date().getFullYear()}, Metrix++ Project.`,
  91. license: `Code licensed under MIT license, documentation under CC BY 3.0.`,
  92. },
  93. },
  94. presets: [
  95. [
  96. '@docusaurus/preset-classic',
  97. {
  98. docs: {
  99. // It is recommended to set document id as docs home page (`docs/` path).
  100. homePageId: 'highlights',
  101. sidebarPath: require.resolve('./sidebars.js'),
  102. // Please change this to your repo.
  103. editUrl:
  104. 'https://metrixplusplus.github.io/',
  105. },
  106. blog: {
  107. showReadingTime: true,
  108. // Please change this to your repo.
  109. editUrl:
  110. 'https://metrixplusplus.github.io/',
  111. },
  112. theme: {
  113. customCss: require.resolve('./src/css/custom.css'),
  114. },
  115. },
  116. ],
  117. ],
  118. };