es.ts 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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/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: 'Recetario 🍳🧑‍🍳',
  58. link: '/es/cookbook/',
  59. items: [
  60. { text: 'Controles de órbita', link: '/es/cookbook/orbit-controls' },
  61. { text: 'Animaciones básicas', link: '/es/cookbook/basic-animations' },
  62. { text: 'Advanced Animations', link: '/es/cookbook/advanced-animations' },
  63. { text: 'Grupos', link: '/es/cookbook/groups' },
  64. { text: 'Cargar texturas', link: '/es/cookbook/load-textures' },
  65. { text: 'Cargar modelos', link: '/es/cookbook/load-models' },
  66. { text: 'Cargar texto', link: '/es/cookbook/text-3d' },
  67. { text: 'Luces y sombras', link: '/es/cookbook/lights-shadows' },
  68. { text: 'Shaders', link: '/es/cookbook/shaders' },
  69. ],
  70. },
  71. {
  72. text: 'Directivas',
  73. collapsed: true,
  74. items: [
  75. { text: 'v-log', link: '/es/directives/v-log' },
  76. { text: 'v-light-helper', link: '/es/directives/v-light-helper' },
  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',
  97. link: 'https://post-processing.tresjs.org/',
  98. },
  99. ],
  100. },
  101. {
  102. text: 'Comunidad',
  103. items: [
  104. { text: 'Recursos increíbles', link: '/es/community/awesome-resources' },
  105. ],
  106. },
  107. ],
  108. nav: [
  109. { text: 'Guía', link: '/es/guide/' },
  110. { text: 'API', link: '/es/api/tres-canvas' },
  111. /* { text: 'API', link: '/es/api/' },
  112. { text: 'Configuración', link: '/es/config/' }, */
  113. {
  114. text: 'Recursos',
  115. items: [
  116. { text: 'Equipo', link: '/es/team' },
  117. { text: 'Versiones', link: 'https://github.com/Tresjs/tres/releases' },
  118. {
  119. text: 'Playground',
  120. link: 'https://play.tresjs.org/',
  121. },
  122. {
  123. text: 'Github',
  124. link: 'https://github.com/Tresjs/tres/',
  125. },
  126. {
  127. text: 'Problemas',
  128. link: 'https://github.com/Tresjs/tres/issues',
  129. },
  130. {
  131. text: 'Contribuir',
  132. link: 'https://github.com/Tresjs/.github/blob/main/CONTRIBUTING.md',
  133. },
  134. {
  135. text: 'Ecosistema',
  136. items: [
  137. {
  138. text: 'Cientos 💛',
  139. link: 'https://cientos.tresjs.org/',
  140. },
  141. {
  142. text: 'Módulo Nuxt',
  143. link: 'https://github.com/Tresjs/nuxt',
  144. },
  145. {
  146. text: 'TresLeches 🍰',
  147. link: 'https://tresleches.tresjs.org/',
  148. },
  149. {
  150. text: 'Post-procesamiento',
  151. link: 'https://post-processing.tresjs.org/',
  152. },
  153. ],
  154. },
  155. ],
  156. },
  157. ],
  158. search: {
  159. provider: 'local',
  160. options: {
  161. locales: {
  162. es: {
  163. translations: {
  164. button: {
  165. buttonText: 'Buscar',
  166. buttonAriaLabel: 'Buscar',
  167. },
  168. modal: {
  169. displayDetails: 'Mostrar lista detallada',
  170. resetButtonTitle: 'Restablecer búsqueda',
  171. backButtonTitle: 'Cerrar búsqueda',
  172. noResultsText: 'Sin resultados para',
  173. footer: {
  174. selectText: 'para seleccionar',
  175. selectKeyAriaLabel: 'entrar',
  176. navigateText: 'para navegar',
  177. navigateUpKeyAriaLabel: 'flecha arriba',
  178. navigateDownKeyAriaLabel: 'flecha abajo',
  179. closeText: 'para cerrar',
  180. closeKeyAriaLabel: 'escape',
  181. },
  182. },
  183. },
  184. },
  185. },
  186. },
  187. },
  188. },
  189. }