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/prompting-best-practices',
  23. },
  24. {
  25. type: 'doc',
  26. label: 'Customization',
  27. id: 'usage/prompting/customization',
  28. },
  29. {
  30. type: 'doc',
  31. label: 'Microagents',
  32. id: 'usage/prompting/microagents',
  33. },
  34. ],
  35. },
  36. {
  37. type: 'category',
  38. label: 'Usage Methods',
  39. items: [
  40. {
  41. type: 'doc',
  42. label: 'GUI Mode',
  43. id: 'usage/how-to/gui-mode',
  44. },
  45. {
  46. type: 'doc',
  47. label: 'CLI Mode',
  48. id: 'usage/how-to/cli-mode',
  49. },
  50. {
  51. type: 'doc',
  52. label: 'Headless Mode',
  53. id: 'usage/how-to/headless-mode',
  54. },
  55. {
  56. type: 'doc',
  57. label: 'Github Actions',
  58. id: 'usage/how-to/github-action',
  59. },
  60. ],
  61. },
  62. {
  63. type: 'category',
  64. label: 'Advanced Configuration',
  65. items: [
  66. {
  67. type: 'category',
  68. label: 'LLM Configuration',
  69. items: [
  70. {
  71. type: 'doc',
  72. label: 'Overview',
  73. id: 'usage/llms/llms',
  74. },
  75. {
  76. type: 'category',
  77. label: 'Providers',
  78. items: [
  79. {
  80. type: 'doc',
  81. label: 'Azure',
  82. id: 'usage/llms/azure-llms',
  83. },
  84. {
  85. type: 'doc',
  86. label: 'Google',
  87. id: 'usage/llms/google-llms',
  88. },
  89. {
  90. type: 'doc',
  91. label: 'Groq',
  92. id: 'usage/llms/groq',
  93. },
  94. {
  95. type: 'doc',
  96. label: 'LiteLLM Proxy',
  97. id: 'usage/llms/litellm-proxy',
  98. },
  99. {
  100. type: 'doc',
  101. label: 'OpenAI',
  102. id: 'usage/llms/openai-llms',
  103. },
  104. {
  105. type: 'doc',
  106. label: 'OpenRouter',
  107. id: 'usage/llms/openrouter',
  108. },
  109. ],
  110. },
  111. ],
  112. },
  113. {
  114. type: 'doc',
  115. label: 'Runtime Configuration',
  116. id: 'usage/runtimes',
  117. },
  118. {
  119. type: 'doc',
  120. label: 'Configuration Options',
  121. id: 'usage/configuration-options',
  122. },
  123. {
  124. type: 'doc',
  125. label: 'Custom Sandbox',
  126. id: 'usage/how-to/custom-sandbox-guide',
  127. },
  128. {
  129. type: 'doc',
  130. label: 'Persist Session Data',
  131. id: 'usage/how-to/persist-session-data',
  132. },
  133. ],
  134. },
  135. {
  136. type: 'doc',
  137. label: 'Troubleshooting',
  138. id: 'usage/troubleshooting/troubleshooting',
  139. },
  140. {
  141. type: 'doc',
  142. label: 'Feedback',
  143. id: 'usage/feedback',
  144. },
  145. {
  146. type: 'category',
  147. label: 'For OpenHands Developers',
  148. items: [
  149. {
  150. type: 'category',
  151. label: 'Architecture',
  152. items: [
  153. {
  154. type: 'doc',
  155. label: 'Backend',
  156. id: 'usage/architecture/backend',
  157. },
  158. {
  159. type: 'doc',
  160. label: 'Runtime',
  161. id: 'usage/architecture/runtime',
  162. },
  163. ],
  164. },
  165. {
  166. type: 'doc',
  167. label: 'Debugging',
  168. id: 'usage/how-to/debugging',
  169. },
  170. {
  171. type: 'doc',
  172. label: 'Evaluation',
  173. id: 'usage/how-to/evaluation-harness',
  174. },
  175. ],
  176. },
  177. {
  178. type: 'doc',
  179. label: 'About',
  180. id: 'usage/about',
  181. }
  182. ],
  183. };
  184. export default sidebars;