pl.ts 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. import type { DefaultTheme, LocaleSpecificConfig } from "vitepress";
  2. export const plConfig: LocaleSpecificConfig<DefaultTheme.Config> = {
  3. themeConfig: {
  4. editLink: {
  5. pattern: "https://github.com/tresjs/tres/edit/main/packages/docs/:path",
  6. text: "Zaproponuj zmiany na tej stronie",
  7. },
  8. sidebar: [
  9. {
  10. text: "Przewodnik",
  11. items: [
  12. // Esto muestra la página `/guide/index.md`.
  13. { text: "Wstęp", link: "/pl/guide/" },
  14. { text: "Pierwsze kroki", link: "/pl/guide/getting-started" },
  15. { text: "Twoja pierwsza scena", link: "/pl/guide/your-first-scene" },
  16. { text: "Nuxt", link: "/pl/guide/nuxt" },
  17. {
  18. text: "Rozwiązywanie problemów",
  19. link: "/pl/guide/troubleshooting",
  20. },
  21. { text: "Migracja z v1", link: "/pl/guide/migration-guide" },
  22. ],
  23. },
  24. {
  25. text: "API",
  26. items: [
  27. { text: "TresCanvas", link: "/pl/api/tres-canvas" },
  28. {
  29. text: "Instancje, argumenty i właściwości",
  30. link: "/pl/api/instances-arguments-and-props",
  31. },
  32. {
  33. text: "Komponowalne",
  34. link: "/pl/api/composables",
  35. },
  36. {
  37. text: "Wydarzenia",
  38. link: "/pl/api/events",
  39. },
  40. ],
  41. },
  42. {
  43. text: "Zaawansowany",
  44. items: [
  45. { text: "Rozszerzanie", link: "/pl/advanced/extending" },
  46. { text: "Prymitywny", link: "/pl/advanced/primitive" },
  47. {
  48. text: "Zastrzeżenia",
  49. link: "/pl/advanced/caveats",
  50. },
  51. ],
  52. },
  53. {
  54. text: "Znajdowanie",
  55. items: [
  56. { text: "Narzędzia deweloperskie", link: "/pl/debug/devtools" },
  57. ],
  58. },
  59. {
  60. text: "Przykłady",
  61. collapsed: true,
  62. items: [
  63. { text: "Sterowanie orbitą", link: "/pl/examples/orbit-controls" },
  64. {
  65. text: "Podstawowe animacje",
  66. link: "/pl/examples/basic-animations",
  67. },
  68. { text: "Grupy", link: "/pl/examples/groups" },
  69. { text: "Ładowanie tekstur", link: "/pl/examples/load-textures" },
  70. { text: "Ładowanie modelu", link: "/pl/examples/load-models" },
  71. { text: "Ładowanie tekstu", link: "/pl/examples/text-3d" },
  72. { text: "Światła i cienie", link: "/pl/examples/lights-shadows" },
  73. { text: "Shadery", link: "/pl/examples/shaders" },
  74. ],
  75. },
  76. {
  77. text: "Dyrektywy",
  78. collapsed: true,
  79. items: [
  80. { text: "v-log", link: "/pl/directives/v-log" },
  81. { text: "v-light-helper", link: "/pl/directives/v-light-helper" },
  82. { text: "v-always-look-at", link: "/pl/directives/v-always-look-at" },
  83. { text: "v-distance-to", link: "/pl/directives/v-distance-to" },
  84. ],
  85. },
  86. {
  87. text: "Ekosystem",
  88. items: [
  89. {
  90. text: "Cientos 💛",
  91. link: "https://cientos.tresjs.org/",
  92. },
  93. {
  94. text: "Nuxt module",
  95. link: "https://github.com/Tresjs/nuxt",
  96. },
  97. {
  98. text: "TresLeches 🍰",
  99. link: "https://tresleches.tresjs.org/",
  100. },
  101. {
  102. text: "Post-processing (wkrótce)",
  103. },
  104. ],
  105. },
  106. ],
  107. nav: [
  108. { text: "Przewodnik", link: "/pl/guide/" },
  109. { text: "API", link: "/pl/api/tres-canvas" },
  110. /* { text: 'API', link: '/pl/api/' },
  111. { text: 'Konfiguracja', link: '/pl/config/' }, */
  112. {
  113. text: "Zasoby",
  114. items: [
  115. { text: "Zespół", link: "/pl/team" },
  116. { text: "Wydania", link: "https://github.com/Tresjs/tres/releases" },
  117. {
  118. text: "Plac zabaw",
  119. link: "https://playground.tresjs.org/",
  120. },
  121. {
  122. text: "Github",
  123. link: "https://github.com/Tresjs/tres/",
  124. },
  125. {
  126. text: "Problemy",
  127. link: "https://github.com/Tresjs/tres/issues",
  128. },
  129. {
  130. text: "Ekosystem",
  131. items: [
  132. {
  133. text: "Cientos 💛",
  134. link: "https://cientos.tresjs.org/",
  135. },
  136. {
  137. text: "Módulo Nuxt",
  138. link: "https://github.com/Tresjs/nuxt",
  139. },
  140. {
  141. text: "TresLeches 🍰",
  142. link: "https://tresleches.tresjs.org/",
  143. },
  144. ],
  145. },
  146. ],
  147. },
  148. ],
  149. },
  150. };