Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
infinite-system committed Sep 24, 2024
1 parent be701dd commit a95dd15
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 114 deletions.
4 changes: 3 additions & 1 deletion docs/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import {
transformerTwoslash,
} from '@shikijs/vitepress-twoslash';

import pkg from "../../../package.json";

// https://vitepress.vuejs.org/config/app-configs
export default defineConfig({
appearance: 'dark',
Expand Down Expand Up @@ -43,7 +45,7 @@ export default defineConfig({
themeConfig: {
logo: '/ivue-logo.png',
outline: 'deep',
siteTitle: '1.5.7',
siteTitle: pkg.version,
socialLinks: [
{ icon: 'github', link: 'https://github.com/infinite-system/ivue' },
{ icon: 'twitter', link: 'https://x.com/evgenykalash' },
Expand Down
7 changes: 4 additions & 3 deletions docs/docs/pages/playground.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@
<!--@include: @/components/usage/CounterInsideComposables.vue-->
```

```ts twoslash include useCustomMouse [useCustomMouse.ts]
<!--@include: @/components/usage/functions/useCustomMouse.ts-->
```

```vue twoslash [CounterComposablesDestructuring.vue]
<!--@include: @/components/usage/CounterComposablesDestructuring.vue-->
```

```ts twoslash include useCustomMouse [useCustomMouse.ts]
<!--@include: @/components/usage/functions/useCustomMouse.ts-->
```

:::
6 changes: 3 additions & 3 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"devDependencies": {
"@chronicstone/array-query": "^1.0.1",
"@quasar/vite-plugin": "^1.7.0",
"@shikijs/vitepress-twoslash": "^1.17.7",
"@shikijs/vitepress-twoslash": "^1.18.0",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"@vitejs/plugin-vue": "^5.1.3",
Expand All @@ -28,7 +28,7 @@
"sass": "^1.33.0",
"sass-embedded": "^1.78.0",
"twoslash-vue": "^0.2.11",
"typescript": "^4.5.4",
"typescript": "^5.6.2",
"vite-plugin-dynamic-import": "^1.5.0",
"vite-tsconfig-paths": "^5.0.1",
"vitepress": "^1.3.4",
Expand All @@ -45,7 +45,7 @@
},
"dependencies": {
"@quasar/extras": "^1.16.12",
"ivue": "^1.5.7",
"ivue": "^1.5.8",
"pinia": "^2.2.2",
"quasar": "^2.16.11"
}
Expand Down
Loading

0 comments on commit a95dd15

Please sign in to comment.