Skip to content

Commit

Permalink
我看看这能不能修好
Browse files Browse the repository at this point in the history
  • Loading branch information
Big-Cake-jpg committed Aug 5, 2023
1 parent 0ea256d commit 890a959
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
24 changes: 12 additions & 12 deletions docs/.vitepress/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ import { h } from "vue";
import Theme from "vitepress/theme";
import "./style.css";
import comment from "../../../components/comment.vue";
import Author from "./components/Author.vue"
import ReloadPrompt from './components/ReloadPrompt.vue'
import Author from "./components/Author.vue";
import ReloadPrompt from "./components/ReloadPrompt.vue";

export default {
...Theme,
Layout: () => {
return h(Theme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
...Theme,
Layout: () => {
return h(Theme.Layout, null, {
// https://vitepress.dev/guide/extending-default-theme#layout-slots
"doc-after": () => h(comment),
"doc-footer-before": () => h(Author),
'layout-bottom': () => h(ReloadPrompt),
});
},
// ...
};
// "doc-footer-before": () => h(Author),
"layout-bottom": () => h(ReloadPrompt),
});
},
// ...
};
11 changes: 6 additions & 5 deletions docs/analyzer.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ import analyzer from '../components/analyzer.vue'
施工中 请绕行
:::

---

<analyzer />


---

:::tip 帮助
Expand All @@ -22,8 +27,4 @@ import analyzer from '../components/analyzer.vue'

:::warning 隐私声明
- 所有文件的分析仅会在本地进行,仅会有部分错误信息被上传到云端。
:::

---

<analyzer />
:::

0 comments on commit 890a959

Please sign in to comment.