diff --git a/README.MD b/README.MD index 471dd31..b7e3111 100644 --- a/README.MD +++ b/README.MD @@ -1,10 +1,10 @@

logo

- CI - baiduPush - last-commit - GitHub stars + CI + baiduPush + last-commit + GitHub stars

@@ -20,7 +20,7 @@ ## Original intention -这个主题的初衷是打造一个 **结构化** 与 **碎片化** 并存的个人**知识库**。[详情](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/339) +这个主题的初衷是打造一个 **结构化** 与 **碎片化** 并存的个人**知识库**。[详情](https://github.com/xugaoyi/vuepress-theme-vdoing/issues/339) > 目前功能已比较完整,但仍在不断的完善当中。如果你有什么建议欢迎提**Issues**,喜欢这个项目的欢迎点个**Star**持续关注。 @@ -37,17 +37,17 @@
查看文档
6. 首页样式美化 - [首页配置](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/338) + [首页配置](https://github.com/xugaoyi/vuepress-theme-vdoing/issues/338) 7. 多种颜色模式供用户选择:**跟随系统**、**浅色模式**、**深色模式**、**阅读模式** - [palette.styl主题调色板使用说明](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/345) + [palette.styl主题调色板使用说明](https://github.com/xugaoyi/vuepress-theme-vdoing/issues/345) ## Start ```bash # clone the project -git clone https://github.com/xugaoyi/vuepress-theme-vdoing-blog.git +git clone https://github.com/xugaoyi/vuepress-theme-vdoing.git # enter the project directory -cd vuepress-theme-vdoing-blog +cd vuepress-theme-vdoing # install dependency npm install # or yarn install @@ -111,7 +111,7 @@ npm run dev # or yarn dev 3. H1标题美化徽章插件 - [title-badge](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/tree/master/docs/.vuepress/plugins/title-badge) + [title-badge](https://github.com/xugaoyi/vuepress-theme-vdoing/tree/master/docs/.vuepress/plugins/title-badge) > 此插件未上传npm,以本地插件引入: @@ -131,7 +131,7 @@ npm run dev # or yarn dev 4. 可以添加第三方搜索链接的搜索框插件 - [enhanced-search](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/blob/master/docs/.vuepress/plugins/enhanced-search/README.md) + [enhanced-search](https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/docs/.vuepress/plugins/enhanced-search/README.md) > 此插件未上传npm,以本地插件引入 @@ -145,7 +145,7 @@ npm run dev # or yarn dev 1. 内置 `deploy.sh` 和 [GitHub Actions](https://github.com/features/actions) 两种**自动部署**脚本,一键发布到 GitHub Pages 或 国内访问速度更快的Coding Pages。 - [自动部署到 github 或 coding](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/325) + [自动部署到 github 或 coding](https://github.com/xugaoyi/vuepress-theme-vdoing/issues/325) @@ -157,7 +157,7 @@ npm run dev # or yarn dev 2. **自定义域名及解析** - [自定义域名及解析](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/326) + [自定义域名及解析](https://github.com/xugaoyi/vuepress-theme-vdoing/issues/326) 3. **SEO相关** @@ -181,7 +181,7 @@ npm run dev # or yarn dev 6. **在线编辑和新增文章的方法** - [在线编辑和新增文章的方法](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/327) + [在线编辑和新增文章的方法](https://github.com/xugaoyi/vuepress-theme-vdoing/issues/327) ## Donate 如果你觉得这个主题对你有用,可以为作者贡献一杯82年的雪碧🍸。 @@ -190,6 +190,6 @@ npm run dev # or yarn dev | Wechat QRcode| Alipay QRcode | ## License -[MIT](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/blob/master/LICENSE) +[MIT](https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/LICENSE) Copyright (c) 2019-present Evan Xu \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index 22675c2..380e161 100644 --- a/deploy.sh +++ b/deploy.sh @@ -13,10 +13,10 @@ cd docs/.vuepress/dist echo 'b.xugaoyi.com' > CNAME if [ -z "$GITHUB_TOKEN" ]; then msg='deploy' - githubUrl=git@github.com:xugaoyi/vuepress-theme-vdoing-blog.git + githubUrl=git@github.com:xugaoyi/vuepress-theme-vdoing.git else msg='来自github actions的自动部署' - githubUrl=https://xugaoyi:${GITHUB_TOKEN}@github.com/xugaoyi/vuepress-theme-vdoing-blog.git + githubUrl=https://xugaoyi:${GITHUB_TOKEN}@github.com/xugaoyi/vuepress-theme-vdoing.git git config --global user.name "xugaoyi" git config --global user.email "894072666@qq.com" fi diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 66a074c..d139982 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -4,7 +4,7 @@ const sidebar = require('./config/sidebar-auto.js'); module.exports = { title: "Evan's blog", // 标题 description: 'web前端技术博客,简洁至上,专注web前端学习与总结。JavaScript,js,ES6,TypeScript,vue,python,css3,html5,Node,git,github等技术文章。', // 描述,以 标签渲染到页面html中 - // base: '/vuepress-theme-vdoing-blog/', // 默认'/' || github仓库名'/<仓库名>/', + // base: '/vuepress-theme-vdoing/', // 默认'/' || github仓库名'/<仓库名>/', head: [ // 注入到页面 中的标签,格式[tagName, { attrName: attrValue }, innerHTML?] ['link', { rel: 'icon', href: '/img/favicon.ico' }], //favicons,资源放在public文件夹 ['meta', { name: 'keywords', content: '前端博客,个人技术博客,前端,前端开发,前端框架,web前端,前端面试题,技术文档,学习,面试,JavaScript,js,ES6,TypeScript,vue,python,css3,html5,Node,git,github,markdown'}], @@ -27,7 +27,7 @@ module.exports = { sidebar, // 侧边栏 'auto' | 自定义 sidebarDepth: 2, // 侧边栏显示深度,默认1,最大2(显示到h3标题) logo: '/img/EB-logo.png', // 导航栏logo - repo: 'xugaoyi/vuepress-theme-vdoing-blog', // 导航栏右侧生成Github链接 + repo: 'xugaoyi/vuepress-theme-vdoing', // 导航栏右侧生成Github链接 searchMaxSuggestions: 10, // 搜索显示最大数 lastUpdated: '上次更新', // 更新的时间,及前缀文字 string | boolean (取值为git提交时间) @@ -146,7 +146,7 @@ module.exports = { options: { clientID: 'a6e1355287947096b88b', clientSecret: 'f0e77d070fabfcd5af95bebb82b2d574d7248d71', - repo: 'vuepress-theme-vdoing-blog', // GitHub 仓库 + repo: 'vuepress-theme-vdoing', // GitHub 仓库 owner: 'xugaoyi', // GitHub仓库所有者 admin: ['xugaoyi'], // 对仓库有写权限的人 distractionFreeMode: false, diff --git a/docs/03.技术/02.GitHub技巧/02.GitHub Actions 实现自动部署静态博客.md b/docs/03.技术/02.GitHub技巧/02.GitHub Actions 实现自动部署静态博客.md index b02bf82..0a8f8f8 100644 --- a/docs/03.技术/02.GitHub技巧/02.GitHub Actions 实现自动部署静态博客.md +++ b/docs/03.技术/02.GitHub技巧/02.GitHub Actions 实现自动部署静态博客.md @@ -11,7 +11,7 @@ permalink: /pages/6b9d359ec5aa5019 coding pages在国内的访问速度比github pages要快很多,而且还可以被百度收录。 -一开始的部署方式是使用[sh部署脚本](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/blob/master/deploy.sh)把代码提交到这两个平台的仓库分支,虽然已经很方便了,但是我还想把博客未打包的源码提交到Github主分支上。这就需要我操作两次命令,**我就想能不能只需要一次操作就可以同时把源码、部署代码一次性提交到两个平台呢?** +一开始的部署方式是使用[sh部署脚本](https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/deploy.sh)把代码提交到这两个平台的仓库分支,虽然已经很方便了,但是我还想把博客未打包的源码提交到Github主分支上。这就需要我操作两次命令,**我就想能不能只需要一次操作就可以同时把源码、部署代码一次性提交到两个平台呢?** diff --git a/docs/03.技术/02.GitHub技巧/03.GitHub Actions 定时运行代码:每天定时百度链接推送.md b/docs/03.技术/02.GitHub技巧/03.GitHub Actions 定时运行代码:每天定时百度链接推送.md index 37ffec4..d3f7080 100644 --- a/docs/03.技术/02.GitHub技巧/03.GitHub Actions 定时运行代码:每天定时百度链接推送.md +++ b/docs/03.技术/02.GitHub技巧/03.GitHub Actions 定时运行代码:每天定时百度链接推送.md @@ -75,7 +75,7 @@ function main() { } ``` -上面代码仅是针对我个人的博客生成链接到`urls.txt`文件。更多代码在 [这里](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/blob/master/utils/baiduPush.js)。 +上面代码仅是针对我个人的博客生成链接到`urls.txt`文件。更多代码在 [这里](https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/utils/baiduPush.js)。 运行如下命令就可以生产一个包含博客所有链接的`urls.txt`文件: ```sh @@ -126,7 +126,7 @@ jobs: run: npm install && npm run baiduPush # 运行命令。(注意,运行目录是仓库根目录) ``` -上面代码中,指定运行环境是最新的ubuntu,流程的第一步是从代码仓库获取代码,第二步运行两个命令,先安装项目依赖,再运行写在`package.json`的`baiduPush`命令。完整代码看 [这里](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/blob/master/.github/workflows/baiduPush.yml) +上面代码中,指定运行环境是最新的ubuntu,流程的第一步是从代码仓库获取代码,第二步运行两个命令,先安装项目依赖,再运行写在`package.json`的`baiduPush`命令。完整代码看 [这里](https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/.github/workflows/baiduPush.yml) diff --git a/docs/03.技术/04.博客搭建/01.解决百度无法收录搭建在GitHub上的个人博客的问题.md b/docs/03.技术/04.博客搭建/01.解决百度无法收录搭建在GitHub上的个人博客的问题.md index 1d2a027..12355b3 100644 --- a/docs/03.技术/04.博客搭建/01.解决百度无法收录搭建在GitHub上的个人博客的问题.md +++ b/docs/03.技术/04.博客搭建/01.解决百度无法收录搭建在GitHub上的个人博客的问题.md @@ -6,7 +6,7 @@ permalink: /pages/41f87d890d0a02af # 解决百度无法收录搭建在GitHub上的静态博客的问题 ::: warning -如果你正在寻找本博客的搭建文档,博主建议您查看这个仓库的[README](https://github.com/xugaoyi/vuepress-theme-vdoing-blog)。 +如果你正在寻找本博客的搭建文档,博主建议您查看这个仓库的[README](https://github.com/xugaoyi/vuepress-theme-vdoing)。 ::: ## 背景 diff --git a/docs/05.关于/01.关于.md b/docs/05.关于/01.关于.md index 351a91e..895780d 100644 --- a/docs/05.关于/01.关于.md +++ b/docs/05.关于/01.关于.md @@ -7,17 +7,17 @@ article: false --- ### 📚Blog -这是一个兼具博客文章、知识管理、文档查找的个人网站,主要内容是Web前端技术。如果你喜欢这个博客&主题欢迎到[GitHub](https://github.com/xugaoyi/vuepress-theme-vdoing-blog)点个Star、获取源码,或者交换[友链](/pages/844eea1b2387fb96/) ( •̀ ω •́ )✧ +这是一个兼具博客文章、知识管理、文档查找的个人网站,主要内容是Web前端技术。如果你喜欢这个博客&主题欢迎到[GitHub](https://github.com/xugaoyi/vuepress-theme-vdoing)点个Star、获取源码,或者交换[友链](/pages/844eea1b2387fb96/) ( •̀ ω •́ )✧ :::tip 文章内容仅是我个人的小总结,如有误还请指正。 ::: ### 🎨Theme -本站主题是根据[VuePress](https://vuepress.vuejs.org/zh/)的默认主题修改而成。取名`Vdoing`(维度),旨在轻松打造一个`结构化`与`碎片化`并存的个人在线知识库&博客,让你的知识海洋像一本本书一样清晰易读。配合多维索引,让每一个知识点都可以快速定位! 更多[详情](https://github.com/xugaoyi/vuepress-theme-vdoing-blog)。 +本站主题是根据[VuePress](https://vuepress.vuejs.org/zh/)的默认主题修改而成。取名`Vdoing`(维度),旨在轻松打造一个`结构化`与`碎片化`并存的个人在线知识库&博客,让你的知识海洋像一本本书一样清晰易读。配合多维索引,让每一个知识点都可以快速定位! 更多[详情](https://github.com/xugaoyi/vuepress-theme-vdoing)。 -GitHub stars -GitHub forks +GitHub stars +GitHub forks ### 🐼Me @@ -26,7 +26,7 @@ article: false 本人照片 -[更新日志](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/commits/master) +[更新日志](https://github.com/xugaoyi/vuepress-theme-vdoing/commits/master) ## :email: 联系 diff --git a/docs/index.md b/docs/index.md index 3df4cc9..43e95f6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -23,13 +23,13 @@ features: # 可选的 ## 关于 ### 📚Blog -这是一个兼具博客文章、知识管理、文档查找的个人网站,主要内容是Web前端技术。如果你喜欢这个博客&主题欢迎到[GitHub](https://github.com/xugaoyi/vuepress-theme-vdoing-blog)点个Star、获取源码,或者交换[友链](/pages/844eea1b2387fb96/) ( •̀ ω •́ )✧ +这是一个兼具博客文章、知识管理、文档查找的个人网站,主要内容是Web前端技术。如果你喜欢这个博客&主题欢迎到[GitHub](https://github.com/xugaoyi/vuepress-theme-vdoing)点个Star、获取源码,或者交换[友链](/pages/844eea1b2387fb96/) ( •̀ ω •́ )✧ ### 🎨Theme -本站主题是根据[VuePress](https://vuepress.vuejs.org/zh/)的默认主题修改而成。取名`Vdoing`(维度),旨在轻松打造一个`结构化`与`碎片化`并存的个人在线知识库&博客,让你的知识海洋像一本本书一样清晰易读。配合多维索引,让每一个知识点都可以快速定位! 更多[详情](https://github.com/xugaoyi/vuepress-theme-vdoing-blog)。 +本站主题是根据[VuePress](https://vuepress.vuejs.org/zh/)的默认主题修改而成。取名`Vdoing`(维度),旨在轻松打造一个`结构化`与`碎片化`并存的个人在线知识库&博客,让你的知识海洋像一本本书一样清晰易读。配合多维索引,让每一个知识点都可以快速定位! 更多[详情](https://github.com/xugaoyi/vuepress-theme-vdoing)。 -GitHub stars -GitHub forks +GitHub stars +GitHub forks
@@ -113,7 +113,7 @@ features: # 可选的 * [解决百度无法收录搭建在GitHub上的静态博客的问题](/pages/41f87d890d0a02af/) * [使用Gitalk实现静态博客无后台评论系统](/pages/1da0bf9a988eafe5/) * [GitHub + jsDelivr + TinyPNG+ PicGo 打造稳定快速、高效免费图床](/pages/a5f73af5185fdf0a/) - * [博客源码](https://github.com/xugaoyi/vuepress-theme-vdoing-blog) + * [博客源码](https://github.com/xugaoyi/vuepress-theme-vdoing) ### 💡更多 diff --git a/theme-vdoing/components/Footer.vue b/theme-vdoing/components/Footer.vue index 747405b..ce586fd 100644 --- a/theme-vdoing/components/Footer.vue +++ b/theme-vdoing/components/Footer.vue @@ -12,7 +12,7 @@ diff --git a/theme-vdoing/package.json b/theme-vdoing/package.json index 2f87e08..541bf29 100644 --- a/theme-vdoing/package.json +++ b/theme-vdoing/package.json @@ -4,7 +4,7 @@ "name": "Evan Xu" }, "bugs": { - "url": "https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues" + "url": "https://github.com/xugaoyi/vuepress-theme-vdoing/issues" }, "dependencies": { "@vuepress/plugin-active-header-links": "^1.2.0", @@ -18,7 +18,7 @@ "vuepress-plugin-smooth-scroll": "^0.0.3" }, "description": "Vdoing theme for VuePress", - "homepage": "https://github.com/xugaoyi/vuepress-theme-vdoing-blog#readme", + "homepage": "https://github.com/xugaoyi/vuepress-theme-vdoing#readme", "keywords": [ "documentation", "vue", @@ -40,7 +40,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/xugaoyi/vuepress-theme-vdoing-blog.git" + "url": "git+https://github.com/xugaoyi/vuepress-theme-vdoing.git" }, "version": "1.0.0" } diff --git a/utils/sidebar.js b/utils/sidebar.js index 0fb1b19..ce97ff3 100644 --- a/utils/sidebar.js +++ b/utils/sidebar.js @@ -87,7 +87,7 @@ function mapTocToSidebar(root, prefix){ let [order, title, type] = filename.split('.'); order = parseInt(order, 10); if (isNaN(order) || order < 0) { - logger.error(`该文件 "${file}" 序号出错,请填写正确的序号,序号约定请查看:https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/113`); + logger.error(`该文件 "${file}" 序号出错,请填写正确的序号,序号约定请查看:https://github.com/xugaoyi/vuepress-theme-vdoing/issues/113`); return; } if (sidebar[order]) { // sidebar数组的order位置的数据的布尔值