sidebars.ts 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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: 'Custom Sandbox',
  105. id: 'usage/how-to/custom-sandbox-guide',
  106. },
  107. ],
  108. },
  109. {
  110. type: 'doc',
  111. label: 'Troubleshooting',
  112. id: 'usage/troubleshooting/troubleshooting',
  113. },
  114. {
  115. type: 'doc',
  116. label: 'Feedback',
  117. id: 'usage/feedback',
  118. },
  119. {
  120. type: 'category',
  121. label: 'For OpenHands Developers',
  122. items: [
  123. {
  124. type: 'category',
  125. label: 'Architecture',
  126. items: [
  127. {
  128. type: 'doc',
  129. label: 'Backend',
  130. id: 'usage/architecture/backend',
  131. },
  132. {
  133. type: 'doc',
  134. label: 'Runtime',
  135. id: 'usage/architecture/runtime',
  136. },
  137. ],
  138. },
  139. {
  140. type: 'doc',
  141. label: 'Debugging',
  142. id: 'usage/how-to/debugging',
  143. },
  144. {
  145. type: 'doc',
  146. label: 'Evaluation',
  147. id: 'usage/how-to/evaluation-harness',
  148. },
  149. {
  150. type: 'doc',
  151. label: 'Kubernetes Deployment',
  152. id: 'usage/how-to/openshift-example',
  153. },
  154. ],
  155. },
  156. {
  157. type: 'doc',
  158. label: 'About',
  159. id: 'usage/about',
  160. }
  161. ],
  162. };
  163. export default sidebars;