diff --git a/docs/[docRoute].paths.ts b/docs/[docRoute].paths.ts index 3b26f499..25a64d86 100644 --- a/docs/[docRoute].paths.ts +++ b/docs/[docRoute].paths.ts @@ -1,11 +1,18 @@ +type Path = { + params: { + docRoute: string; + }; +}; + const object = { - paths: () => [ + paths: (): Path[] => [ { params: { docRoute: 'docker' } }, { params: { docRoute: 'javascript' } }, { params: { docRoute: 'sql' } }, { params: { docRoute: 'csharpdesignpatterns' } }, { params: { docRoute: 'articles' } }, { params: { docRoute: 'vue3' } }, + { params: { docRoute: 'cesiumjs' } }, ], }; diff --git a/docs/data/Features.data.ts b/docs/data/Features.data.ts index 9ea01815..e1d97892 100644 --- a/docs/data/Features.data.ts +++ b/docs/data/Features.data.ts @@ -1,5 +1,5 @@ -import { type Feature } from 'vitepress/dist/client/theme-default/components/VPFeatures.vue'; import matter from 'gray-matter'; +import { type Feature } from 'vitepress/dist/client/theme-default/components/VPFeatures.vue'; // const matter = require('gray-matter'); const featuresLiteral = `--- features: @@ -43,6 +43,11 @@ features: icon: ⚡ link: /vue3 linkText: Get started + - title: CesiumJS + details: CesiumJS with vite + icon: 🌏 + link: /cesiumjs + linkText: Get started --- `;