Skip to content

Commit

Permalink
Merge branch 'main' into v4
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Mar 4, 2024
2 parents 79d8a76 + 8d5c139 commit 1fa9385
Show file tree
Hide file tree
Showing 62 changed files with 5,812 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
146 changes: 146 additions & 0 deletions docs/.vitepress/config/de.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'

export const deConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
themeConfig: {
editLink: {
pattern: 'https://github.com/tresjs/tres/edit/main/packages/docs/:path',
text: 'Änderungen an dieser Seite vorschlagen',
},
sidebar: [
{
text: 'Anleitung',
items: [
// Dies zeigt die Seite `/guide/index.md`.
{ text: 'Einführung', link: '/de/guide/' },
{ text: 'Loslegen', link: '/de/guide/getting-started' },
{ text: 'Deine erste Szene', link: '/de/guide/your-first-scene' },
{ text: 'Nuxt', link: '/de/guide/nuxt' },
{ text: 'Fehlerbehebung', link: '/de/guide/troubleshooting' },
{ text: 'Migration von v1', link: '/de/guide/migration-guide' },
],
},
{
text: 'API',
items: [
{ text: 'TresCanvas', link: '/de/api/tres-canvas' },
{
text: 'Instanzen, Argumente und Props',
link: '/de/api/instances-arguments-and-props',
},
{
text: 'Composables',
link: '/de/api/composables',
},
{
text: 'Events',
link: '/de/api/events',
},
],
},

{
text: 'Fortgeschritten',
items: [
{ text: 'Erweitern', link: '/de/advanced/extending' },
{ text: 'Primitive', link: '/de/advanced/primitive' },
{
text: 'Warnhinweise',
link: '/de/advanced/caveats',
},
],
},
{
text: 'Debugging',
items: [
{ text: 'Entwicklungstools', link: '/de/debug/devtools' },
],
},
{
text: 'Beispiele',
collapsed: true,
items: [
{ text: 'Orbit-Controls', link: '/de/examples/orbit-controls' },
{ text: 'Einfache Animationen', link: '/de/examples/basic-animations' },
{ text: 'Gruppen', link: '/de/examples/groups' },
{ text: 'Texturen laden', link: '/de/examples/load-textures' },
{ text: 'Modelle laden', link: '/de/examples/load-models' },
{ text: 'Text laden', link: '/de/examples/text-3d' },
{ text: 'Lichter und Schatten', link: '/de/examples/lights-shadows' },
{ text: 'Shaders', link: '/de/examples/shaders' },
],
},
{
text: 'Direktiven',
collapsed: true,
items: [
{ text: 'v-log', link: '/de/directives/v-log' },
{ text: 'v-light-helper', link: '/de/directives/v-light-helper' },
{ text: 'v-always-look-at', link: '/de/directives/v-always-look-at' },
{ text: 'v-distance-to', link: '/de/directives/v-distance-to' },
],
},
{
text: 'Ökosystem',
items: [
{
text: 'Cientos 💛',
link: 'https://cientos.tresjs.org/',
},
{
text: 'Nuxt-Modul',
link: 'https://github.com/Tresjs/nuxt',
},
{
text: 'TresLeches 🍰',
link: 'https://tresleches.tresjs.org/',
},
{
text: 'Nachbearbeitung (Demnächst)',
},
],
},
],
nav: [
{ text: 'Anleitung', link: '/de/guide/' },
{ text: 'API', link: '/de/api/tres-canvas' },
/* { text: 'API', link: '/de/api/' },
{ text: 'Konfiguration', link: '/de/config/' }, */
{
text: 'Ressourcen',
items: [
{ text: 'Team', link: '/de/team' },
{ text: 'Versionen', link: 'https://github.com/Tresjs/tres/releases' },
{
text: 'Spielplatz',
link: 'https://playground.tresjs.org/',
},
{
text: 'Github',
link: 'https://github.com/Tresjs/tres/',
},
{
text: 'Probleme',
link: 'https://github.com/Tresjs/tres/issues',
},
{
text: 'Ökosystem',
items: [
{
text: 'Cientos 💛',
link: 'https://cientos.tresjs.org/',
},
{
text: 'Nuxt-Modul',
link: 'https://github.com/Tresjs/nuxt',
},
{
text: 'TresLeches 🍰',
link: 'https://tresleches.tresjs.org/',
},
],
},
],
},
],
},
}
146 changes: 146 additions & 0 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
import type { DefaultTheme, LocaleSpecificConfig } from 'vitepress'

export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
themeConfig: {
editLink: {
pattern: 'https://github.com/tresjs/tres/edit/main/packages/docs/:path',
text: 'Suggest changes to this page',
},
sidebar: [
{
text: 'Guide',
items: [
// This shows `/guide/index.md` page.
{ text: 'Introduction', link: '/guide/' },
{ text: 'Getting Started', link: '/guide/getting-started' },
{ text: 'Your first Scene', link: '/guide/your-first-scene' },
{ text: 'Nuxt', link: '/guide/nuxt' },
{ text: 'Troubleshooting', link: '/guide/troubleshooting' },
{ text: 'Migrate from v1', link: '/guide/migration-guide' },
],
},
{
text: 'API',
items: [
{ text: 'TresCanvas', link: '/api/tres-canvas' },
{
text: 'Instances, arguments and props',
link: '/api/instances-arguments-and-props',
},
{
text: 'Composables',
link: '/api/composables',
},
{
text: 'Events',
link: '/api/events',
},
],
},

{
text: 'Advanced',

items: [
{ text: 'Extending', link: '/advanced/extending' },
{ text: 'primitive', link: '/advanced/primitive' },
{
text: 'Caveats',
link: '/advanced/caveats',
},
],
},
{
text: 'Debug',
items: [
{ text: 'Devtools', link: '/debug/devtools' },
],
},
{
text: 'Examples',
collapsed: true,
items: [
{ text: 'Orbit Controls', link: '/examples/orbit-controls' },
{ text: 'Basic Animations', link: '/examples/basic-animations' },
{ text: 'Groups', link: '/examples/groups' },
{ text: 'Load Textures', link: '/examples/load-textures' },
{ text: 'Load Models', link: '/examples/load-models' },
{ text: 'Load Text', link: '/examples/text-3d' },
{ text: 'Lights & Shadows', link: '/examples/lights-shadows' },
{ text: 'Shaders', link: '/examples/shaders' },
],
},
{
text: 'Directives',
collapsed: true,
items: [
{ text: 'v-log', link: '/directives/v-log' },
{ text: 'v-light-helper', link: '/directives/v-light-helper' },
{ text: 'v-always-look-at', link: '/directives/v-always-look-at' },
{ text: 'v-distance-to', link: '/directives/v-distance-to' },
],
},
{
text: 'Ecosystem',
items: [
{
text: 'Cientos 💛',
link: 'https://cientos.tresjs.org/',
},
{
text: 'Nuxt module',
link: 'https://github.com/Tresjs/nuxt',
},
{
text: 'TresLeches 🍰',
link: 'https://tresleches.tresjs.org/',
},
{
text: 'Post-processing (Soon)',
},
],
},
],
nav: [
{ text: 'Guide', link: '/guide/' },
{ text: 'API', link: '/api/tres-canvas' },
/* { text: 'API', link: '/api/' },
{ text: 'Config', link: '/config/' }, */
{ text: 'Resources',
items: [
{ text: 'Team', link: '/team' },
{ text: 'Releases', link: 'https://github.com/Tresjs/tres/releases' },
{
text: 'Playground',
link: 'https://playground.tresjs.org/',
},
{
text: 'Github',
link: 'https://github.com/Tresjs/tres/',
},
{
text: 'Issues',
link: 'https://github.com/Tresjs/tres/issues',
},
{
text: 'Ecosystem',
items: [
{
text: 'Cientos 💛',
link: 'https://cientos.tresjs.org/',
},
{
text: 'Nuxt module',
link: 'https://github.com/Tresjs/nuxt',
},
{
text: 'TresLeches 🍰',
link: 'https://tresleches.tresjs.org/',
},
],
},
],
},
],
},
}
Loading

0 comments on commit 1fa9385

Please sign in to comment.