en.ts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
  2. export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: 'https://github.com/tresjs/tres/edit/main/docs/:path',
  6. text: 'Suggest changes to this page',
  7. },
  8. sidebar: [
  9. {
  10. text: 'Guide',
  11. items: [
  12. // This shows `/guide/index.md` page.
  13. { text: 'Introduction', link: '/guide/' },
  14. { text: 'Getting Started', link: '/guide/getting-started' },
  15. { text: 'Your first Scene', link: '/guide/your-first-scene' },
  16. { text: 'Nuxt', link: '/guide/nuxt' },
  17. { text: 'Troubleshooting', link: '/guide/troubleshooting' },
  18. { text: 'Migrate from v1', link: '/guide/migration-guide' },
  19. ],
  20. },
  21. {
  22. text: 'API',
  23. items: [
  24. { text: 'TresCanvas', link: '/api/tres-canvas' },
  25. {
  26. text: 'Instances, arguments and props',
  27. link: '/api/instances-arguments-and-props',
  28. },
  29. {
  30. text: 'Composables',
  31. link: '/api/composables',
  32. },
  33. {
  34. text: 'Events',
  35. link: '/api/events',
  36. },
  37. ],
  38. },
  39. {
  40. text: 'Advanced',
  41. items: [
  42. { text: 'Extending', link: '/advanced/extending' },
  43. { text: 'Primitives', link: '/advanced/primitive' },
  44. { text: 'Scaling Performance 🚀', link: '/advanced/performance' },
  45. { text: 'Attach', link: '/advanced/attach' },
  46. {
  47. text: 'Caveats',
  48. link: '/advanced/caveats',
  49. },
  50. ],
  51. },
  52. {
  53. text: 'Debug',
  54. items: [
  55. { text: 'Devtools', link: '/debug/devtools' },
  56. ],
  57. },
  58. {
  59. text: 'Cookbook 🍳🧑‍🍳',
  60. link: '/cookbook/',
  61. items: [
  62. { text: 'Orbit Controls', link: '/cookbook/orbit-controls' },
  63. { text: 'Basic Animations', link: '/cookbook/basic-animations' },
  64. { text: 'Advanced Animations', link: '/cookbook/advanced-animations' },
  65. { text: 'Groups', link: '/cookbook/groups' },
  66. { text: 'Load Textures', link: '/cookbook/load-textures' },
  67. { text: 'Load Models', link: '/cookbook/load-models' },
  68. { text: 'Load Text', link: '/cookbook/text-3d' },
  69. { text: 'Lights & Shadows', link: '/cookbook/lights-shadows' },
  70. { text: 'Shaders', link: '/cookbook/shaders' },
  71. { text: 'Tweakpane', link: '/cookbook/tweakpane' },
  72. ],
  73. },
  74. {
  75. text: 'Directives',
  76. collapsed: true,
  77. items: [
  78. { text: 'v-log', link: '/directives/v-log' },
  79. { text: 'v-light-helper', link: '/directives/v-light-helper' },
  80. { text: 'v-distance-to', link: '/directives/v-distance-to' },
  81. ],
  82. },
  83. {
  84. text: 'Ecosystem',
  85. items: [
  86. {
  87. text: 'Cientos 💛',
  88. link: 'https://cientos.tresjs.org/',
  89. },
  90. {
  91. text: 'Nuxt module',
  92. link: 'https://github.com/Tresjs/nuxt',
  93. },
  94. {
  95. text: 'TresLeches 🍰',
  96. link: 'https://tresleches.tresjs.org/',
  97. },
  98. {
  99. text: 'Post-processing',
  100. link: 'https://post-processing.tresjs.org/',
  101. },
  102. ],
  103. },
  104. ],
  105. nav: [
  106. { text: 'Guide', link: '/guide/' },
  107. { text: 'API', link: '/api/tres-canvas' },
  108. /* { text: 'API', link: '/api/' },
  109. { text: 'Config', link: '/config/' }, */
  110. {
  111. text: 'Resources',
  112. items: [
  113. { text: 'Team', link: '/team' },
  114. { text: 'Releases', link: 'https://github.com/Tresjs/tres/releases' },
  115. {
  116. text: 'Playground',
  117. link: 'https://play.tresjs.org/',
  118. },
  119. {
  120. text: 'Github',
  121. link: 'https://github.com/Tresjs/tres/',
  122. },
  123. {
  124. text: 'Issues',
  125. link: 'https://github.com/Tresjs/tres/issues',
  126. },
  127. {
  128. text: 'Ecosystem',
  129. items: [
  130. {
  131. text: 'Cientos 💛',
  132. link: 'https://cientos.tresjs.org/',
  133. },
  134. {
  135. text: 'Nuxt module',
  136. link: 'https://github.com/Tresjs/nuxt',
  137. },
  138. {
  139. text: 'TresLeches 🍰',
  140. link: 'https://tresleches.tresjs.org/',
  141. },
  142. {
  143. text: 'Post-processing',
  144. link: 'https://post-processing.tresjs.org/',
  145. },
  146. ],
  147. },
  148. ],
  149. },
  150. ],
  151. },
  152. }