Parcourir la source

docs: update docs to point cientos and readme with alpha versions

alvarosabu il y a 2 ans
Parent
commit
64a494a817
3 fichiers modifiés avec 33 ajouts et 33 suppressions
  1. 8 2
      README.md
  2. 9 9
      docs/.vitepress/cache/deps/_metadata.json
  3. 16 22
      docs/.vitepress/config.ts

+ 8 - 2
README.md

@@ -17,11 +17,17 @@ Checkout the [docs](https://tresjs.org)
 
 - [Stackblitz Collection](https://stackblitz.com/@alvarosabu/collections/tresjs)
 
+## Ecosystem
+
+| Package                     | Version                                                                                           |
+| --------------------------- | :------------------------------------------------------------------------------------------------ |
+| [Tres](packages/tres)       | ![tres version](https://img.shields.io/npm/v/@tresjs/core/alpha.svg?label=%20&color=%2382DBCA)    |
+| [Cientos](packages/cientos) | ![tres version](https://img.shields.io/npm/v/@tresjs/cientos/alpha.svg?label=%20&color=%23f19b00) |
+
 ## Contribution
 
 We are open to contributions, please read the [contributing guide](/CONTRIBUTING.md) to get started.
 
-
 ### Setup
 
 ```
@@ -64,4 +70,4 @@ pnpm run docs:build
 
 ## Sponsors
 
-Be the first to support this project [here](https://github.com/sponsors/alvarosabu) ☺️
+Be the first to support this project [here](https://github.com/sponsors/alvarosabu) ☺️

+ 9 - 9
docs/.vitepress/cache/deps/_metadata.json

@@ -1,47 +1,47 @@
 {
-  "hash": "8885e0d8",
-  "browserHash": "f5506ae5",
+  "hash": "57ed5bdd",
+  "browserHash": "5a85ba9f",
   "optimized": {
     "vue": {
       "src": "../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue/dist/vue.runtime.esm-bundler.js",
       "file": "vue.js",
-      "fileHash": "0e9f3d71",
+      "fileHash": "b356fbe8",
       "needsInterop": false
     },
     "three": {
       "src": "../../../../node_modules/.pnpm/three@0.150.1/node_modules/three/build/three.module.js",
       "file": "three.js",
-      "fileHash": "83b7f56c",
+      "fileHash": "ef0dcbe3",
       "needsInterop": false
     },
     "@tresjs/cientos": {
       "src": "../../../../node_modules/.pnpm/@tresjs+cientos@2.0.0-alpha.5_three@0.150.1/node_modules/@tresjs/cientos/dist/trescientos.js",
       "file": "@tresjs_cientos.js",
-      "fileHash": "8aa5eace",
+      "fileHash": "ff897d95",
       "needsInterop": false
     },
     "@stackblitz/sdk": {
       "src": "../../../../node_modules/.pnpm/@stackblitz+sdk@1.8.2/node_modules/@stackblitz/sdk/bundles/sdk.m.js",
       "file": "@stackblitz_sdk.js",
-      "fileHash": "a975a8b1",
+      "fileHash": "e331485d",
       "needsInterop": false
     },
     "gsap": {
       "src": "../../../../node_modules/.pnpm/gsap@3.11.5/node_modules/gsap/index.js",
       "file": "gsap.js",
-      "fileHash": "4e5151fd",
+      "fileHash": "02cf948d",
       "needsInterop": false
     },
     "@vueuse/core": {
       "src": "../../../../node_modules/.pnpm/@vueuse+core@9.13.0/node_modules/@vueuse/core/index.mjs",
       "file": "@vueuse_core.js",
-      "fileHash": "62e3edb1",
+      "fileHash": "22db28b3",
       "needsInterop": false
     },
     "@alvarosabu/utils": {
       "src": "../../../../node_modules/.pnpm/@alvarosabu+utils@2.3.0/node_modules/@alvarosabu/utils/dist/as-utils.js",
       "file": "@alvarosabu_utils.js",
-      "fileHash": "07b617fe",
+      "fileHash": "f3ee0595",
       "needsInterop": false
     }
   },

+ 16 - 22
docs/.vitepress/config.ts

@@ -60,41 +60,35 @@ export default defineConfig({
           },
         ],
       },
+      {
+        text: 'Ecosystem',
+        items: [
+          {
+            text: `Cientos 💛`,
+            link: 'https://cientos.tresjs.org/',
+          },
+        ],
+      },
     ],
     nav: [
       { text: 'Guide', link: '/guide/' },
       { text: 'API', link: '/api/renderer' },
       /*       { text: 'API', link: '/api/' },
       { text: 'Config', link: '/config/' }, */
-      /*  {
+      {
         text: 'Ecosystem',
-        activeMatch: `^/ecosystem/`,
         items: [
           {
-            text: `Core v${version}`,
-            items: [
-              {
-                text: 'Release Notes ',
-                link: `https://github.com/Tresjs/tres/releases/tag/%40tresjs%2Fcore%40${version}`,
-              },
-            ],
-          },
-          {
-            text: `Cientos v${cientosVersion}`,
-            items: [
-              {
-                text: 'Release Notes ',
-                link: `https://github.com/Tresjs/tres/releases/tag/%40tresjs%2Fcientos%40${cientosVersion}`,
-              },
-            ],
+            text: `Cientos 💛`,
+            link: 'https://cientos.tresjs.org/',
           },
         ],
-      }, */
+      },
     ],
     socialLinks: [
       /*  { icon: 'github', link: 'https://github.com/tresjs/tres' }, */
       { icon: 'twitter', link: 'https://twitter.com/alvarosabu' },
-      { icon: 'discord', link: 'https://discord.gg/wXx63MwW'}
+      { icon: 'discord', link: 'https://discord.gg/wXx63MwW' },
     ],
   },
   vite: {
@@ -102,7 +96,7 @@ export default defineConfig({
     resolve: {
       alias: {
         '/@': resolve(__dirname, '../../src'),
-      }
-    }
+      },
+    },
   },
 })