sidebars.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
  2. const mainSidebar = {
  3. panel: [
  4. 'panel/intro',
  5. 'panel/dashboard/dashboard',
  6. {
  7. type: 'category',
  8. label: 'Applications',
  9. className: "category-as-header",
  10. items: [
  11. {
  12. type: 'doc',
  13. id: 'panel/applications/applications',
  14. },
  15. {
  16. type: 'doc',
  17. id: 'panel/applications/pm2',
  18. },
  19. {
  20. type: 'doc',
  21. id: 'panel/applications/wordpress',
  22. },
  23. ],
  24. },
  25. {
  26. type: 'category',
  27. label: 'Domain Management',
  28. className: "category-as-header",
  29. items: [
  30. {
  31. type: 'doc',
  32. id: 'panel/domains/domains',
  33. },
  34. {
  35. type: 'doc',
  36. id: 'panel/domains/dns',
  37. },
  38. {
  39. type: 'doc',
  40. id: 'panel/domains/SSL',
  41. },
  42. ],
  43. },
  44. {
  45. type: 'category',
  46. label: 'Databases',
  47. className: "category-as-header",
  48. items: [
  49. {
  50. type: 'doc',
  51. id: 'panel/databases/databases',
  52. },
  53. {
  54. type: 'doc',
  55. id: 'panel/databases/wizard',
  56. },
  57. {
  58. type: 'doc',
  59. id: 'panel/databases/remote',
  60. },
  61. {
  62. type: 'doc',
  63. id: 'panel/databases/processlist',
  64. },
  65. {
  66. type: 'doc',
  67. id: 'panel/databases/phpmyadmin',
  68. },
  69. ],
  70. },
  71. {
  72. type: 'category',
  73. label: 'Files',
  74. className: "category-as-header",
  75. items: [
  76. {
  77. type: 'doc',
  78. id: 'panel/files/files',
  79. },
  80. {
  81. type: 'doc',
  82. id: 'panel/files/backups',
  83. },
  84. {
  85. type: 'doc',
  86. id: 'panel/files/FTP',
  87. },
  88. {
  89. type: 'doc',
  90. id: 'panel/files/disk_usage',
  91. },
  92. {
  93. type: 'doc',
  94. id: 'panel/files/inodes_explorer',
  95. },
  96. {
  97. type: 'doc',
  98. id: 'panel/files/malware-scanner',
  99. },
  100. {
  101. type: 'doc',
  102. id: 'panel/files/fix_permissions',
  103. },
  104. ],
  105. },
  106. {
  107. type: 'category',
  108. label: 'Cache & Search',
  109. className: "category-as-header",
  110. items: [
  111. {
  112. type: 'doc',
  113. id: 'panel/caching/caching',
  114. },
  115. {
  116. type: 'doc',
  117. id: 'panel/caching/Redis',
  118. },
  119. {
  120. type: 'doc',
  121. id: 'panel/caching/Memcached',
  122. },
  123. {
  124. type: 'doc',
  125. id: 'panel/caching/elasticsearch',
  126. },
  127. ],
  128. },
  129. {
  130. type: 'category',
  131. label: 'Analytics',
  132. className: "category-as-header",
  133. items: [
  134. {
  135. type: 'doc',
  136. id: 'panel/analytics/resource_usage',
  137. },
  138. {
  139. type: 'doc',
  140. id: 'panel/analytics/domain_visitors',
  141. },
  142. {
  143. type: 'doc',
  144. id: 'panel/analytics/account_activity',
  145. },
  146. ],
  147. },
  148. {
  149. type: 'category',
  150. label: 'Advanced',
  151. className: "category-as-header",
  152. items: [
  153. {
  154. type: 'doc',
  155. id: 'panel/advanced/advanced',
  156. },
  157. {
  158. type: 'doc',
  159. id: 'panel/advanced/cronjobs',
  160. },
  161. {
  162. type: 'doc',
  163. id: 'panel/advanced/ssh',
  164. },
  165. {
  166. type: 'doc',
  167. id: 'panel/advanced/terminal',
  168. },
  169. {
  170. type: 'doc',
  171. id: 'panel/advanced/process_manager',
  172. },
  173. {
  174. type: 'doc',
  175. id: 'panel/advanced/server_settings',
  176. },
  177. ],
  178. },
  179. {
  180. type: 'category',
  181. label: 'Account',
  182. className: "category-as-header",
  183. items: [
  184. {
  185. type: 'doc',
  186. id: 'panel/account/account',
  187. },
  188. {
  189. type: 'doc',
  190. id: 'panel/account/2fa',
  191. },
  192. {
  193. type: 'doc',
  194. id: 'panel/account/login_history',
  195. },
  196. {
  197. type: 'doc',
  198. id: 'panel/account/login',
  199. },
  200. ],
  201. },
  202. // Promo
  203. {
  204. type: "link",
  205. href: "/beta",
  206. label: "OpenPanel BETA",
  207. className: "enterprise-badge",
  208. }
  209. ],
  210. admin: [
  211. { type: 'autogenerated', dirName: 'admin' },
  212. // Promo
  213. {
  214. type: 'link',
  215. href: '/beta',
  216. label: 'OpenPanel BETA',
  217. className: 'enterprise-badge',
  218. },
  219. ],
  220. changelog: [
  221. { type: 'autogenerated', dirName: 'changelog' },
  222. // Promo
  223. {
  224. type: 'link',
  225. href: '/beta',
  226. label: 'OpenPanel BETA',
  227. className: 'enterprise-badge',
  228. },
  229. ],
  230. };
  231. module.exports = mainSidebar;