1
0

es.ts 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
  2. export const esConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: 'https://github.com/tresjs/tres/edit/main/packages/docs/:path',
  6. text: 'Sugerir cambios a esta página',
  7. },
  8. sidebar: [
  9. {
  10. text: 'Guía',
  11. items: [
  12. // Esto muestra la página `/guide/index.md`.
  13. { text: 'Introducción', link: '/es/guide/' },
  14. { text: 'Empezando', link: '/es/guide/getting-started' },
  15. { text: 'Tu primera Escena', link: '/es/guide/your-first-scene' },
  16. { text: 'Nuxt', link: '/es/guide/nuxt' },
  17. { text: 'Solución de problemas', link: '/es/guide/troubleshooting' },
  18. { text: 'Migración desde v1', link: '/es/guide/migration-guide' },
  19. ],
  20. },
  21. {
  22. text: 'API',
  23. items: [
  24. { text: 'TresCanvas', link: '/es/api/tres-canvas' },
  25. {
  26. text: 'Instancias, argumentos y props',
  27. link: '/es/api/instances-arguments-and-props',
  28. },
  29. {
  30. text: 'Composables',
  31. link: '/es/api/composables',
  32. },
  33. {
  34. text: 'Eventos',
  35. link: '/es/api/events',
  36. },
  37. ],
  38. },
  39. {
  40. text: 'Avanzado',
  41. items: [
  42. { text: 'Extender', link: '/es/advanced/extending' },
  43. { text: 'primitive', link: '/es/advanced/primitive' },
  44. {
  45. text: 'Advertencias',
  46. link: '/es/advanced/caveats',
  47. },
  48. ],
  49. },
  50. {
  51. text: 'Depuración',
  52. items: [
  53. { text: 'Herramientas de desarrollo', link: '/es/debug/devtools' },
  54. ],
  55. },
  56. {
  57. text: 'Ejemplos',
  58. collapsed: true,
  59. items: [
  60. { text: 'Controles de órbita', link: '/es/examples/orbit-controls' },
  61. { text: 'Animaciones básicas', link: '/es/examples/basic-animations' },
  62. { text: 'Grupos', link: '/es/examples/groups' },
  63. { text: 'Cargar texturas', link: '/es/examples/load-textures' },
  64. { text: 'Cargar modelos', link: '/es/examples/load-models' },
  65. { text: 'Cargar texto', link: '/es/examples/text-3d' },
  66. { text: 'Luces y sombras', link: '/es/examples/lights-shadows' },
  67. { text: 'Shaders', link: '/es/examples/shaders' },
  68. ],
  69. },
  70. {
  71. text: 'Directivas',
  72. collapsed: true,
  73. items: [
  74. { text: 'v-log', link: '/es/directives/v-log' },
  75. { text: 'v-light-helper', link: '/es/directives/v-light-helper' },
  76. { text: 'v-always-look-at', link: '/es/directives/v-always-look-at' },
  77. { text: 'v-distance-to', link: '/es/directives/v-distance-to' },
  78. ],
  79. },
  80. {
  81. text: 'Ecosistema',
  82. items: [
  83. {
  84. text: 'Cientos 💛',
  85. link: 'https://cientos.tresjs.org/',
  86. },
  87. {
  88. text: 'Módulo Nuxt',
  89. link: 'https://github.com/Tresjs/nuxt',
  90. },
  91. {
  92. text: 'TresLeches 🍰',
  93. link: 'https://tresleches.tresjs.org/',
  94. },
  95. {
  96. text: 'Post-procesamiento (Próximamente)',
  97. },
  98. ],
  99. },
  100. ],
  101. nav: [
  102. { text: 'Guía', link: '/es/guide/' },
  103. { text: 'API', link: '/es/api/tres-canvas' },
  104. /* { text: 'API', link: '/es/api/' },
  105. { text: 'Configuración', link: '/es/config/' }, */
  106. { text: 'Recursos',
  107. items: [
  108. { text: 'Equipo', link: '/es/team' },
  109. { text: 'Versiones', link: 'https://github.com/Tresjs/tres/releases' },
  110. {
  111. text: 'Playground',
  112. link: 'https://playground.tresjs.org/',
  113. },
  114. {
  115. text: 'Github',
  116. link: 'https://github.com/Tresjs/tres/',
  117. },
  118. {
  119. text: 'Problemas',
  120. link: 'https://github.com/Tresjs/tres/issues',
  121. },
  122. {
  123. text: 'Ecosistema',
  124. items: [
  125. {
  126. text: 'Cientos 💛',
  127. link: 'https://cientos.tresjs.org/',
  128. },
  129. {
  130. text: 'Módulo Nuxt',
  131. link: 'https://github.com/Tresjs/nuxt',
  132. },
  133. {
  134. text: 'TresLeches 🍰',
  135. link: 'https://tresleches.tresjs.org/',
  136. },
  137. ],
  138. },
  139. ],
  140. },
  141. ],
  142. },
  143. }