sidebars.ts 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";
  2. const sidebars: SidebarsConfig = {
  3. apiSidebar: [require("./modules/python/sidebar.json")],
  4. docsSidebar: [
  5. {
  6. type: 'doc',
  7. label: 'Installation',
  8. id: 'usage/installation',
  9. },
  10. {
  11. type: 'doc',
  12. label: 'Getting Started',
  13. id: 'usage/getting-started',
  14. },
  15. {
  16. type: 'category',
  17. label: 'Prompting',
  18. items: [
  19. {
  20. type: 'doc',
  21. label: 'Best Practices',
  22. id: 'usage/prompting-best-practices',
  23. },
  24. {
  25. type: 'doc',
  26. label: 'Micro-Agents',
  27. id: 'usage/micro-agents',
  28. },
  29. ],
  30. },
  31. {
  32. type: 'category',
  33. label: 'Usage Methods',
  34. items: [
  35. {
  36. type: 'doc',
  37. label: 'GUI Mode',
  38. id: 'usage/how-to/gui-mode',
  39. },
  40. {
  41. type: 'doc',
  42. label: 'CLI Mode',
  43. id: 'usage/how-to/cli-mode',
  44. },
  45. {
  46. type: 'doc',
  47. label: 'Headless Mode',
  48. id: 'usage/how-to/headless-mode',
  49. },
  50. {
  51. type: 'doc',
  52. label: 'Github Actions',
  53. id: 'usage/how-to/github-action',
  54. },
  55. ],
  56. },
  57. {
  58. type: 'category',
  59. label: 'Advanced Configuration',
  60. items: [
  61. {
  62. type: 'category',
  63. label: 'LLM Configuration',
  64. items: [
  65. {
  66. type: 'doc',
  67. label: 'Overview',
  68. id: 'usage/llms/llms',
  69. },
  70. {
  71. type: 'category',
  72. label: 'Providers',
  73. items: [
  74. {
  75. type: 'doc',
  76. label: 'Azure',
  77. id: 'usage/llms/azure-llms',
  78. },
  79. {
  80. type: 'doc',
  81. label: 'Google',
  82. id: 'usage/llms/google-llms',
  83. },
  84. {
  85. type: 'doc',
  86. label: 'Groq',
  87. id: 'usage/llms/groq',
  88. },
  89. {
  90. type: 'doc',
  91. label: 'LiteLLM Proxy',
  92. id: 'usage/llms/litellm-proxy',
  93. },
  94. {
  95. type: 'doc',
  96. label: 'OpenAI',
  97. id: 'usage/llms/openai-llms',
  98. },
  99. {
  100. type: 'doc',
  101. label: 'OpenRouter',
  102. id: 'usage/llms/openrouter',
  103. },
  104. ],
  105. },
  106. ],
  107. },
  108. {
  109. type: 'doc',
  110. label: 'Runtime Configuration',
  111. id: 'usage/runtimes',
  112. },
  113. {
  114. type: 'doc',
  115. label: 'Configuration Options',
  116. id: 'usage/configuration-options',
  117. },
  118. {
  119. type: 'doc',
  120. label: 'Custom Sandbox',
  121. id: 'usage/how-to/custom-sandbox-guide',
  122. },
  123. {
  124. type: 'doc',
  125. label: 'Persist Session Data',
  126. id: 'usage/how-to/persist-session-data',
  127. },
  128. ],
  129. },
  130. {
  131. type: 'doc',
  132. label: 'Troubleshooting',
  133. id: 'usage/troubleshooting/troubleshooting',
  134. },
  135. {
  136. type: 'doc',
  137. label: 'Feedback',
  138. id: 'usage/feedback',
  139. },
  140. {
  141. type: 'category',
  142. label: 'For OpenHands Developers',
  143. items: [
  144. {
  145. type: 'category',
  146. label: 'Architecture',
  147. items: [
  148. {
  149. type: 'doc',
  150. label: 'Backend',
  151. id: 'usage/architecture/backend',
  152. },
  153. {
  154. type: 'doc',
  155. label: 'Runtime',
  156. id: 'usage/architecture/runtime',
  157. },
  158. ],
  159. },
  160. {
  161. type: 'doc',
  162. label: 'Debugging',
  163. id: 'usage/how-to/debugging',
  164. },
  165. {
  166. type: 'doc',
  167. label: 'Evaluation',
  168. id: 'usage/how-to/evaluation-harness',
  169. },
  170. {
  171. type: 'doc',
  172. label: 'Kubernetes Deployment',
  173. id: 'usage/how-to/openshift-example',
  174. },
  175. ],
  176. },
  177. {
  178. type: 'doc',
  179. label: 'About',
  180. id: 'usage/about',
  181. }
  182. ],
  183. };
  184. export default sidebars;