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 20, 2024
2 parents 47713bc + 354f4dd commit 8efe6e0
Show file tree
Hide file tree
Showing 102 changed files with 4,058 additions and 459 deletions.
203 changes: 0 additions & 203 deletions docs/.vitepress/config.ts

This file was deleted.

52 changes: 41 additions & 11 deletions docs/.vitepress/config/de.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,17 @@ export const deConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
],
},
{
text: 'Beispiele',
collapsed: true,
text: 'Kochbuch 🍳🧑‍🍳',
link: '/de/cookbook/',
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: 'Orbit-Controls', link: '/de/cookbook/orbit-controls' },
{ text: 'Einfache Animationen', link: '/de/cookbook/basic-animations' },
{ text: 'Gruppen', link: '/de/cookbook/groups' },
{ text: 'Texturen laden', link: '/de/cookbook/load-textures' },
{ text: 'Modelle laden', link: '/de/cookbook/load-models' },
{ text: 'Text laden', link: '/de/cookbook/text-3d' },
{ text: 'Lichter und Schatten', link: '/de/cookbook/lights-shadows' },
{ text: 'Shaders', link: '/de/cookbook/shaders' },
],
},
{
Expand Down Expand Up @@ -112,7 +112,7 @@ export const deConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
{ text: 'Versionen', link: 'https://github.com/Tresjs/tres/releases' },
{
text: 'Spielplatz',
link: 'https://playground.tresjs.org/',
link: 'https://play.tresjs.org/',
},
{
text: 'Github',
Expand Down Expand Up @@ -142,5 +142,35 @@ export const deConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
],
},
],
search: {
provider: 'local',
options: {
locales: {
de: {
translations: {
button: {
buttonText: 'Suchen',
buttonAriaLabel: 'Suchen',
},
modal: {
displayDetails: 'Detaillierte Liste anzeigen',
resetButtonTitle: 'Suche zurücksetzen',
backButtonTitle: 'Suche schließen',
noResultsText: 'Keine Ergebnisse für',
footer: {
selectText: 'zur Auswahl',
selectKeyAriaLabel: 'enter',
navigateText: 'zum Navigieren',
navigateUpKeyAriaLabel: 'Pfeil nach oben',
navigateDownKeyAriaLabel: 'Pfeil nach unten',
closeText: 'zum Schließen',
closeKeyAriaLabel: 'escape',
},
},
},
},
},
},
},
},
}
28 changes: 14 additions & 14 deletions docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {

items: [
{ text: 'Extending', link: '/advanced/extending' },
{ text: 'primitive', link: '/advanced/primitive' },
{ text: 'Primitive', link: '/advanced/primitive' },
{
text: 'Caveats',
link: '/advanced/caveats',
Expand All @@ -57,17 +57,17 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
],
},
{
text: 'Examples',
collapsed: true,
text: 'Cookbook 🍳🧑‍🍳',
link: '/cookbook/',
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: 'Orbit Controls', link: '/cookbook/orbit-controls' },
{ text: 'Basic Animations', link: '/cookbook/basic-animations' },
{ text: 'Groups', link: '/cookbook/groups' },
{ text: 'Load Textures', link: '/cookbook/load-textures' },
{ text: 'Load Models', link: '/cookbook/load-models' },
{ text: 'Load Text', link: '/cookbook/text-3d' },
{ text: 'Lights & Shadows', link: '/cookbook/lights-shadows' },
{ text: 'Shaders', link: '/cookbook/shaders' },
],
},
{
Expand Down Expand Up @@ -112,7 +112,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
{ text: 'Releases', link: 'https://github.com/Tresjs/tres/releases' },
{
text: 'Playground',
link: 'https://playground.tresjs.org/',
link: 'https://play.tresjs.org/',
},
{
text: 'Github',
Expand Down Expand Up @@ -140,7 +140,7 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
],
},
],
},
},
],
},
}
}
Loading

0 comments on commit 8efe6e0

Please sign in to comment.