sidebars.ts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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: 'OpenAI',
  81. id: 'usage/llms/openai-llms',
  82. },
  83. {
  84. type: 'doc',
  85. label: 'OpenRouter',
  86. id: 'usage/llms/openrouter',
  87. },
  88. ],
  89. },
  90. ],
  91. },
  92. {
  93. type: 'doc',
  94. label: 'Custom Sandbox',
  95. id: 'usage/how-to/custom-sandbox-guide',
  96. },
  97. ],
  98. },
  99. {
  100. type: 'doc',
  101. label: 'Troubleshooting',
  102. id: 'usage/troubleshooting/troubleshooting',
  103. },
  104. {
  105. type: 'doc',
  106. label: 'Feedback',
  107. id: 'usage/feedback',
  108. },
  109. {
  110. type: 'category',
  111. label: 'For OpenHands Developers',
  112. items: [
  113. {
  114. type: 'category',
  115. label: 'Architecture',
  116. items: [
  117. {
  118. type: 'doc',
  119. label: 'Backend',
  120. id: 'usage/architecture/backend',
  121. },
  122. {
  123. type: 'doc',
  124. label: 'Runtime',
  125. id: 'usage/architecture/runtime',
  126. },
  127. ],
  128. },
  129. {
  130. type: 'doc',
  131. label: 'Debugging',
  132. id: 'usage/how-to/debugging',
  133. },
  134. {
  135. type: 'doc',
  136. label: 'Evaluation',
  137. id: 'usage/how-to/evaluation-harness',
  138. },
  139. {
  140. type: 'doc',
  141. label: 'Kubernetes Deployment',
  142. id: 'usage/how-to/openshift-example',
  143. },
  144. ],
  145. },
  146. {
  147. type: 'doc',
  148. label: 'About',
  149. id: 'usage/about',
  150. }
  151. ],
  152. };
  153. export default sidebars;