sidebars.ts 3.9 KB

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