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