Skip to content

Commit

Permalink
πŸ— route: add cesiumjs
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpchen committed Dec 31, 2023
1 parent 8397914 commit 4e0bbd7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
9 changes: 8 additions & 1 deletion docs/[docRoute].paths.ts
Original file line number Diff line number Diff line change
@@ -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' } },
],
};

Expand Down
7 changes: 6 additions & 1 deletion docs/data/Features.data.ts
Original file line number Diff line number Diff line change
@@ -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:
Expand Down Expand Up @@ -43,6 +43,11 @@ features:
icon: ⚑
link: /vue3
linkText: Get started
- title: CesiumJS
details: CesiumJS with vite
icon: 🌏
link: /cesiumjs
linkText: Get started
---
`;

Expand Down

0 comments on commit 4e0bbd7

Please sign in to comment.