|
@@ -7,48 +7,48 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
text: 'Guide',
|
|
text: 'Guide',
|
|
items: [
|
|
items: [
|
|
// This shows `/guide/index.md` page.
|
|
// 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: 'Introduction', link: '/en/guide/' },
|
|
|
|
+ { text: 'Getting Started', link: '/en/guide/getting-started' },
|
|
|
|
+ { text: 'Your first Scene', link: '/en/guide/your-first-scene' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'API',
|
|
text: 'API',
|
|
items: [
|
|
items: [
|
|
- { text: 'Renderer', link: '/api/renderer' },
|
|
|
|
|
|
+ { text: 'Renderer', link: '/en/api/renderer' },
|
|
{
|
|
{
|
|
text: 'Instances, arguments and props',
|
|
text: 'Instances, arguments and props',
|
|
- link: '/api/instances-arguments-and-props',
|
|
|
|
|
|
+ link: '/en/api/instances-arguments-and-props',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Composables',
|
|
text: 'Composables',
|
|
- link: '/api/composables',
|
|
|
|
|
|
+ link: '/en/api/composables',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Events',
|
|
text: 'Events',
|
|
- link: '/api/events',
|
|
|
|
|
|
+ link: '/en/api/events',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Examples',
|
|
text: 'Examples',
|
|
items: [
|
|
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: 'Orbit Controls', link: '/en/examples/orbit-controls' },
|
|
|
|
+ { text: 'Basic Animations', link: '/en/examples/basic-animations' },
|
|
|
|
+ { text: 'Groups', link: '/en/examples/groups' },
|
|
|
|
+ { text: 'Load Textures', link: '/en/examples/load-textures' },
|
|
|
|
+ { text: 'Load Models', link: '/en/examples/load-models' },
|
|
|
|
+ { text: 'Load Text', link: '/en/examples/text-3d' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Advanced',
|
|
text: 'Advanced',
|
|
|
|
|
|
items: [
|
|
items: [
|
|
- { text: 'Extending', link: '/advanced/extending' },
|
|
|
|
|
|
+ { text: 'Extending', link: '/en/advanced/extending' },
|
|
{
|
|
{
|
|
text: 'Caveats',
|
|
text: 'Caveats',
|
|
- link: '/advanced/caveats',
|
|
|
|
|
|
+ link: '/en/advanced/caveats',
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
@@ -56,60 +56,60 @@ export const enConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
|
|
text: 'Cientos 💛',
|
|
text: 'Cientos 💛',
|
|
collapsible: true,
|
|
collapsible: true,
|
|
items: [
|
|
items: [
|
|
- { text: 'Introduction', link: '/cientos/' },
|
|
|
|
|
|
+ { text: 'Introduction', link: '/en/cientos/' },
|
|
{
|
|
{
|
|
text: 'Abstractions',
|
|
text: 'Abstractions',
|
|
items: [
|
|
items: [
|
|
- { text: 'Text3D', link: '/cientos/abstractions/text-3d' },
|
|
|
|
- { text: 'useAnimations', link: '/cientos/abstractions/use-animations' },
|
|
|
|
- { text: 'Environment', link: '/cientos/abstractions/environment' },
|
|
|
|
- { text: 'useEnvironment', link: '/cientos/abstractions/use-environment' },
|
|
|
|
|
|
+ { text: 'Text3D', link: '/en/cientos/abstractions/text-3d' },
|
|
|
|
+ { text: 'useAnimations', link: '/en/cientos/abstractions/use-animations' },
|
|
|
|
+ { text: 'Environment', link: '/en/cientos/abstractions/environment' },
|
|
|
|
+ { text: 'useEnvironment', link: '/en/cientos/abstractions/use-environment' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Controls',
|
|
text: 'Controls',
|
|
items: [
|
|
items: [
|
|
- { text: 'OrbitControls', link: '/cientos/controls/orbit-controls' },
|
|
|
|
- { text: 'TransformControls', link: '/cientos/controls/transform-controls' },
|
|
|
|
|
|
+ { text: 'OrbitControls', link: '/en/cientos/controls/orbit-controls' },
|
|
|
|
+ { text: 'TransformControls', link: '/en/cientos/controls/transform-controls' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Loaders',
|
|
text: 'Loaders',
|
|
items: [
|
|
items: [
|
|
- { text: 'useGLTF', link: '/cientos/loaders/use-gltf' },
|
|
|
|
- { text: 'GLTFModel', link: '/cientos/loaders/gltf-model' },
|
|
|
|
- { text: 'useFBX', link: '/cientos/loaders/use-fbx' },
|
|
|
|
- { text: 'FBXModel', link: '/cientos/loaders/fbx-model' },
|
|
|
|
|
|
+ { text: 'useGLTF', link: '/en/cientos/loaders/use-gltf' },
|
|
|
|
+ { text: 'GLTFModel', link: '/en/cientos/loaders/gltf-model' },
|
|
|
|
+ { text: 'useFBX', link: '/en/cientos/loaders/use-fbx' },
|
|
|
|
+ { text: 'FBXModel', link: '/en/cientos/loaders/fbx-model' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Shapes',
|
|
text: 'Shapes',
|
|
items: [
|
|
items: [
|
|
- { text: 'Box', link: '/cientos/shapes/box' },
|
|
|
|
- { text: 'Circle', link: '/cientos/shapes/circle' },
|
|
|
|
- { text: 'Cone', link: '/cientos/shapes/cone' },
|
|
|
|
- { text: 'Dodecahedron', link: '/cientos/shapes/dodecahedron' },
|
|
|
|
- { text: 'Icosahedron', link: '/cientos/shapes/icosahedron' },
|
|
|
|
- { text: 'Octahedron', link: '/cientos/shapes/octahedron' },
|
|
|
|
- { text: 'Plane', link: '/cientos/shapes/plane' },
|
|
|
|
- { text: 'Ring', link: '/cientos/shapes/ring' },
|
|
|
|
- { text: 'Sphere', link: '/cientos/shapes/sphere' },
|
|
|
|
- { text: 'Tetrahedron', link: '/cientos/shapes/tetrahedron' },
|
|
|
|
- { text: 'Torus', link: '/cientos/shapes/torus' },
|
|
|
|
|
|
+ { text: 'Box', link: '/en/cientos/shapes/box' },
|
|
|
|
+ { text: 'Circle', link: '/en/cientos/shapes/circle' },
|
|
|
|
+ { text: 'Cone', link: '/en/cientos/shapes/cone' },
|
|
|
|
+ { text: 'Dodecahedron', link: '/en/cientos/shapes/dodecahedron' },
|
|
|
|
+ { text: 'Icosahedron', link: '/en/cientos/shapes/icosahedron' },
|
|
|
|
+ { text: 'Octahedron', link: '/en/cientos/shapes/octahedron' },
|
|
|
|
+ { text: 'Plane', link: '/en/cientos/shapes/plane' },
|
|
|
|
+ { text: 'Ring', link: '/en/cientos/shapes/ring' },
|
|
|
|
+ { text: 'Sphere', link: '/en/cientos/shapes/sphere' },
|
|
|
|
+ { text: 'Tetrahedron', link: '/en/cientos/shapes/tetrahedron' },
|
|
|
|
+ { text: 'Torus', link: '/en/cientos/shapes/torus' },
|
|
{ text: 'TorusKnot', link: '/cientos/shapes/torus-knot' },
|
|
{ text: 'TorusKnot', link: '/cientos/shapes/torus-knot' },
|
|
- { text: 'Tube', link: '/cientos/shapes/tube' },
|
|
|
|
|
|
+ { text: 'Tube', link: '/en/cientos/shapes/tube' },
|
|
],
|
|
],
|
|
},
|
|
},
|
|
{
|
|
{
|
|
text: 'Misc',
|
|
text: 'Misc',
|
|
- items: [{ text: 'useTweakpane', link: '/cientos/misc/use-tweakpane' }],
|
|
|
|
|
|
+ items: [{ text: 'useTweakpane', link: '/en/cientos/misc/use-tweakpane' }],
|
|
},
|
|
},
|
|
],
|
|
],
|
|
},
|
|
},
|
|
],
|
|
],
|
|
nav: [
|
|
nav: [
|
|
- { text: 'Guide', link: '/guide/' },
|
|
|
|
- { text: 'API', link: '/api/renderer' },
|
|
|
|
|
|
+ { text: 'Guide', link: '/en/guide/' },
|
|
|
|
+ { text: 'API', link: '/en/api/renderer' },
|
|
/* { text: 'API', link: '/api/' },
|
|
/* { text: 'API', link: '/api/' },
|
|
{ text: 'Config', link: '/config/' }, */
|
|
{ text: 'Config', link: '/config/' }, */
|
|
/* {
|
|
/* {
|