Merge branch 'revert-migrate-to-v2'

This commit is contained in:
狮子耗耗 2024-02-09 11:10:50 +08:00
commit f434359315
5 changed files with 751 additions and 719 deletions

1349
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -5,22 +5,22 @@
"license": "GPL-3.0",
"type": "module",
"scripts": {
"docs:build": "vuepress-vite build src",
"docs:clean-dev": "vuepress-vite dev src --clean-cache",
"docs:dev": "vuepress-vite dev src",
"docs:build": "vuepress build src",
"docs:clean-dev": "vuepress dev src --clean-cache",
"docs:dev": "vuepress dev src",
"docs:update-package": "npx vp-update"
},
"devDependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.7",
"katex": "^0.16.9",
"vue": "^3.4.17",
"vuepress": "^2.0.0-rc.7",
"vuepress-theme-hope": "2.0.0-rc.23"
},
"volta": {
"node": "18.19.0",
"npm": "10.4.0"
"node": "20.11.0"
},
"dependencies": {
"@vuepress/bundler-vite": "^2.0.0-rc.2",
"vue": "^3.2.47",
"vuepress": "^2.0.0-rc.2",
"vuepress-theme-hope": "^2.0.0-rc.21"
},
"devDependencies": {
"@vuepress/plugin-feed": "^2.0.0-rc.10"
"vuepress-plugin-md-enhance": "^2.0.0-rc.23"
}
}

View File

@ -1,7 +1,12 @@
import { viteBundler } from '@vuepress/bundler-vite'
import { defineUserConfig } from "vuepress";
import theme from "./theme.js";
export default defineUserConfig({
bundler: viteBundler({
viteOptions: {},
vuePluginOptions: {}
}),
base: "/jingji/book/",
lang: "zh-CN",

View File

@ -41,27 +41,26 @@ export default hopeTheme({
},
plugins: {
// You should generate and use your own comment service
// comment: {
// provider: "Giscus",
// repo: "vuepress-theme-hope/giscus-discussions",
// repoId: "R_kgDOG_Pt2A",
// category: "Announcements",
// categoryId: "DIC_kwDOG_Pt2M4COD69",
// },
// All features are enabled for demo, only preserve features you need here
mdEnhance: {
align: true,
attrs: true,
chart: false,
codetabs: true,
component: true,
demo: true,
demo: false,
echarts: false,
figure: true,
flowchart: false,
gfm: false,
imgLazyload: true,
imgSize: true,
include: true,
katex: true,
mark: true,
mermaid: false,
playground: {
presets: ["ts", "vue"],
},
stylize: [
{
matcher: "Recommended",
@ -79,45 +78,7 @@ export default hopeTheme({
sup: true,
tabs: true,
vPre: true,
tasklist: true,
// install chart.js before enabling it
// chart: true,
// insert component easily
// install echarts before enabling it
// echarts: true,
// install flowchart.ts before enabling it
// flowchart: true,
// gfm requires mathjax-full to provide tex support
// gfm: true,
// install katex before enabling it
// katex: true,
// install mathjax-full before enabling it
// mathjax: true,
// install mermaid before enabling it
// mermaid: true,
// playground: {
// presets: ["ts", "vue"],
// },
// install reveal.js before enabling it
// revealJs: {
// plugins: ["highlight", "math", "search", "notes", "zoom"],
// },
// install @vue/repl before enabling it
// vuePlayground: true,
// install sandpack-vue3 before enabling it
// sandpack: true,
vuePlayground: false,
},
},
});

View File

@ -11,42 +11,41 @@ icon: book
---
## 近期更新
- 2024.2.5
### 2024.2.9
- 尝试修复点击文档中链接时会弹出 404 页面的问题
### 2024.2.5
- 迁移 [VuePress Theme Hope](https://theme-hope.vuejs.press/zh/) 至 V2
- 修正美编部文档 README 错误并添加跳转链接
- 2024.1.22
### 2024.1.22
- 美编文档 [3.3 进阶操作](ChapterNo3/3.3.md#参考线) -> 补充参考线的使用
- 美编文档 [5.2 素材管理](ChapterNo5/5.2.md#零泉推荐) -> 补充零泉存在的问题
- 2024.1.13
### 2024.1.13
- [5.1 字体管理](ChapterNo5/5.1.md#快捷预览字体效果) -> FontBase 使用教程新增字体效果预览/其他细节调整
- [5.2 素材管理](ChapterNo5/5.2.md#零泉推荐) -> 新增素材管理软件零泉/其他细节调整
- 2024.1.1
### 2024.1.1
- [3.3 进阶操作](ChapterNo3/3.3.md#首字下沉) -> 新增首字下沉效果
- 移动/调整部分内容位置
- 高三特刊规格移动至高三特刊文档
- InDesign 的系统要求/下载/版本辨别 调整至 3.1 节内
- [2.2 文字排版规范](ChapterNo2/2.2.md) -> 内容完善
- 其他细节调整
- 2023.12.31
### 2023.12.31
- 3.2 基本操作 -> 补充串接的文本框架提示;删除不必要内容
- 6.1 上交排版作品 -> 修正提示文本
- 2023.12.24
### 2023.12.24
- 附录:常见问题 -> 新增 Indesign 无法正常启动或启动速度慢
- 3.2 基本操作 -> 补充放大/缩小页面操作方式
- 4.3 修缮图片 -> 更新 Photoshop 版本提示
- 2023.12.10
### 2023.12.10
- 6.2 排版汇总 -> 添加U盘相关提醒
- 2023.12.3
### 2023.12.3
- 3 InDesign 软件 -> 添加 Indesign 系统要求
- 2023.11.24
### 2023.11.24
- 5.1 字体管理 -> FontBase 支持信息更新
- 2023.11.18
- 5.1 字体管理 -> 新增字体丢失的解决方法FontBase 软件激活字体的方法
- 6.1 上交排版作品 -> 新增字体打包
### 2023.11.18
- 5.1 字体管理 -> 新增**字体丢失**的解决方法FontBase 软件**激活字体**的方法
- 6.1 上交排版作品 -> 新增**字体打包**
- 附录 -> 新增vscode 安装和使用
- 更早
### 更早
- 4.2 图片的存储原理和格式转换 -> 新增分辨率的计算增加示例
- 3.2 基本操作 -> 新增移动页面
## TODO
- [ ] 4.3 修缮图片