sidebars.js 4.9 KB

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