Merge pull request #85 from longbiaochen/codex/minimal-slide-mode
feat: add docs slide mode
This commit is contained in:
@@ -3,6 +3,7 @@ import DefaultTheme from 'vitepress/theme'
|
|||||||
import { useData, useRoute, withBase } from 'vitepress'
|
import { useData, useRoute, withBase } from 'vitepress'
|
||||||
import TextType from './components/TextType.vue'
|
import TextType from './components/TextType.vue'
|
||||||
import GitHubStars from './components/GitHubStars.vue'
|
import GitHubStars from './components/GitHubStars.vue'
|
||||||
|
import PageSlidesButton from './components/PageSlidesButton.vue'
|
||||||
import { onMounted, onBeforeUnmount, ref, watch, computed } from 'vue'
|
import { onMounted, onBeforeUnmount, ref, watch, computed } from 'vue'
|
||||||
import ReadingProgress from './components/ReadingProgress.vue'
|
import ReadingProgress from './components/ReadingProgress.vue'
|
||||||
import { Setting } from '@element-plus/icons-vue'
|
import { Setting } from '@element-plus/icons-vue'
|
||||||
@@ -426,6 +427,9 @@ watch(sidebarCollapsed, (collapsed) => {
|
|||||||
</template>
|
</template>
|
||||||
<template #nav-bar-content-after>
|
<template #nav-bar-content-after>
|
||||||
<GitHubStars />
|
<GitHubStars />
|
||||||
|
<ClientOnly>
|
||||||
|
<PageSlidesButton />
|
||||||
|
</ClientOnly>
|
||||||
<ClientOnly>
|
<ClientOnly>
|
||||||
<el-popover
|
<el-popover
|
||||||
placement="bottom-end"
|
placement="bottom-end"
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Generated
+7
@@ -13,6 +13,7 @@
|
|||||||
"claude": "^0.1.1",
|
"claude": "^0.1.1",
|
||||||
"element-plus": "^2.13.1",
|
"element-plus": "^2.13.1",
|
||||||
"mermaid": "^11.13.0",
|
"mermaid": "^11.13.0",
|
||||||
|
"reveal.js": "^6.0.1",
|
||||||
"typeit": "^8.8.7",
|
"typeit": "^8.8.7",
|
||||||
"viewerjs": "^1.11.7",
|
"viewerjs": "^1.11.7",
|
||||||
"vitepress": "^2.0.0-alpha.16",
|
"vitepress": "^2.0.0-alpha.16",
|
||||||
@@ -4203,6 +4204,12 @@
|
|||||||
"node": ">=4"
|
"node": ">=4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/reveal.js": {
|
||||||
|
"version": "6.0.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/reveal.js/-/reveal.js-6.0.1.tgz",
|
||||||
|
"integrity": "sha512-9eacArNIgqO2HGWOK+93gJNn+gvdGDVbSq+i2u3Ja9kjiHps0XNLpgYTZTYjKRH91uXy3clGimeGiw4umHG/tg==",
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/rfdc": {
|
"node_modules/rfdc": {
|
||||||
"version": "1.4.1",
|
"version": "1.4.1",
|
||||||
"resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.4.1.tgz",
|
"resolved": "https://registry.npmmirror.com/rfdc/-/rfdc-1.4.1.tgz",
|
||||||
|
|||||||
@@ -41,6 +41,7 @@
|
|||||||
"claude": "^0.1.1",
|
"claude": "^0.1.1",
|
||||||
"element-plus": "^2.13.1",
|
"element-plus": "^2.13.1",
|
||||||
"mermaid": "^11.13.0",
|
"mermaid": "^11.13.0",
|
||||||
|
"reveal.js": "^6.0.1",
|
||||||
"typeit": "^8.8.7",
|
"typeit": "^8.8.7",
|
||||||
"viewerjs": "^1.11.7",
|
"viewerjs": "^1.11.7",
|
||||||
"vitepress": "^2.0.0-alpha.16",
|
"vitepress": "^2.0.0-alpha.16",
|
||||||
|
|||||||
Reference in New Issue
Block a user