sidebars.ts 3.4 KB

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