sidebars.ts 3.2 KB

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