sidebars.js 4.9 KB

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