docs: 更新侧边栏并配置 PDF.js 服务
- 移除侧边栏中的幻灯片链接 - 更新 PDF.js 服务地址为 https://pdfjs.jdysya.top/ - 注释掉本地 PDF.js 路径,使用外部服务
This commit is contained in:
parent
7fa137e24e
commit
19912e5309
@ -17,10 +17,5 @@ export default sidebar({
|
|||||||
link: "origin/",
|
link: "origin/",
|
||||||
children: "structure",
|
children: "structure",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
text: "幻灯片",
|
|
||||||
icon: "person-chalkboard",
|
|
||||||
link: "https://ecosystem.vuejs.press/zh/plugins/markdown/revealjs/demo.html",
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|||||||
@ -136,7 +136,8 @@ export default hopeTheme({
|
|||||||
components: ["Badge", "VPCard", "PDF"],
|
components: ["Badge", "VPCard", "PDF"],
|
||||||
componentOptions: {
|
componentOptions: {
|
||||||
pdf: {
|
pdf: {
|
||||||
pdfjs: '/pdfjs/', // 假设 PDF.js 放在 public/pdfjs/web/
|
pdfjs: 'https://pdfjs.jdysya.top/',
|
||||||
|
// pdfjs: '/pdfjs/', // 假设 PDF.js 放在 public/pdfjs/web/
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user