123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'
- export const esConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
- themeConfig: {
- editLink: {
- pattern: 'https://github.com/tresjs/tres/edit/main/packages/docs/:path',
- text: 'Sugerir cambios a esta página',
- },
- sidebar: [
- {
- text: 'Guía',
- items: [
- // Esto muestra la página `/guide/index.md`.
- { text: 'Introducción', link: '/es/guide/' },
- { text: 'Empezando', link: '/es/guide/getting-started' },
- { text: 'Tu primera Escena', link: '/es/guide/your-first-scene' },
- { text: 'Nuxt', link: '/es/guide/nuxt' },
- { text: 'Solución de problemas', link: '/es/guide/troubleshooting' },
- { text: 'Migración desde v1', link: '/es/guide/migration-guide' },
- ],
- },
- {
- text: 'API',
- items: [
- { text: 'TresCanvas', link: '/es/api/tres-canvas' },
- {
- text: 'Instancias, argumentos y props',
- link: '/es/api/instances-arguments-and-props',
- },
- {
- text: 'Composables',
- link: '/es/api/composables',
- },
- {
- text: 'Eventos',
- link: '/es/api/events',
- },
- ],
- },
- {
- text: 'Avanzado',
- items: [
- { text: 'Extender', link: '/es/advanced/extending' },
- { text: 'Primitive', link: '/es/advanced/primitive' },
- {
- text: 'Advertencias',
- link: '/es/advanced/caveats',
- },
- ],
- },
- {
- text: 'Depuración',
- items: [
- { text: 'Herramientas de desarrollo', link: '/es/debug/devtools' },
- ],
- },
- {
- text: 'Recetario 🍳🧑🍳',
- link: '/es/cookbook/',
- items: [
- { text: 'Controles de órbita', link: '/es/cookbook/orbit-controls' },
- { text: 'Animaciones básicas', link: '/es/cookbook/basic-animations' },
- { text: 'Grupos', link: '/es/cookbook/groups' },
- { text: 'Cargar texturas', link: '/es/cookbook/load-textures' },
- { text: 'Cargar modelos', link: '/es/cookbook/load-models' },
- { text: 'Cargar texto', link: '/es/cookbook/text-3d' },
- { text: 'Luces y sombras', link: '/es/cookbook/lights-shadows' },
- { text: 'Shaders', link: '/es/cookbook/shaders' },
- ],
- },
- {
- text: 'Directivas',
- collapsed: true,
- items: [
- { text: 'v-log', link: '/es/directives/v-log' },
- { text: 'v-light-helper', link: '/es/directives/v-light-helper' },
- { text: 'v-always-look-at', link: '/es/directives/v-always-look-at' },
- { text: 'v-distance-to', link: '/es/directives/v-distance-to' },
- ],
- },
- {
- text: 'Ecosistema',
- items: [
- {
- text: 'Cientos 💛',
- link: 'https://cientos.tresjs.org/',
- },
- {
- text: 'Módulo Nuxt',
- link: 'https://github.com/Tresjs/nuxt',
- },
- {
- text: 'TresLeches 🍰',
- link: 'https://tresleches.tresjs.org/',
- },
- {
- text: 'Post-procesamiento (Próximamente)',
- },
- ],
- },
- ],
- nav: [
- { text: 'Guía', link: '/es/guide/' },
- { text: 'API', link: '/es/api/tres-canvas' },
- /* { text: 'API', link: '/es/api/' },
- { text: 'Configuración', link: '/es/config/' }, */
- { text: 'Recursos', items: [
- { text: 'Equipo', link: '/es/team' },
- { text: 'Versiones', link: 'https://github.com/Tresjs/tres/releases' },
- {
- text: 'Playground',
- link: 'https://play.tresjs.org/',
- },
- {
- text: 'Github',
- link: 'https://github.com/Tresjs/tres/',
- },
- {
- text: 'Problemas',
- link: 'https://github.com/Tresjs/tres/issues',
- },
- {
- text: 'Ecosistema',
- items: [
- {
- text: 'Cientos 💛',
- link: 'https://cientos.tresjs.org/',
- },
- {
- text: 'Módulo Nuxt',
- link: 'https://github.com/Tresjs/nuxt',
- },
- {
- text: 'TresLeches 🍰',
- link: 'https://tresleches.tresjs.org/',
- },
- ],
- },
- ] },
- ],
- search: {
- provider: 'local',
- options: {
- locales: {
- es: {
- translations: {
- button: {
- buttonText: 'Buscar',
- buttonAriaLabel: 'Buscar',
- },
- modal: {
- displayDetails: 'Mostrar lista detallada',
- resetButtonTitle: 'Restablecer búsqueda',
- backButtonTitle: 'Cerrar búsqueda',
- noResultsText: 'Sin resultados para',
- footer: {
- selectText: 'para seleccionar',
- selectKeyAriaLabel: 'entrar',
- navigateText: 'para navegar',
- navigateUpKeyAriaLabel: 'flecha arriba',
- navigateDownKeyAriaLabel: 'flecha abajo',
- closeText: 'para cerrar',
- closeKeyAriaLabel: 'escape',
- },
- },
- },
- },
- },
- },
- },
- },
- }
|