Update repository name

This commit is contained in:
xugaoyi 2020-04-10 12:29:35 +08:00
parent 89d8f4e945
commit 3dcaa99f87
11 changed files with 48 additions and 48 deletions

View File

@ -1,10 +1,10 @@
<p align="center"><a href="https://xugaoyi.com/" target="_blank" rel="noopener noreferrer"><img width="180" src="https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200409124835.png" alt="logo"></a></p>
<p align="center">
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/actions?query=workflow%3ACI"><img src="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/workflows/CI/badge.svg" alt="CI"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/actions?query=workflow%3AbaiduPush"><img src="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/workflows/baiduPush/badge.svg" alt="baiduPush"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/commits/master"><img src="https://img.shields.io/github/last-commit/xugaoyi/vuepress-theme-vdoing-blog" alt="last-commit"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/stargazers"><img src="https://img.shields.io/github/stars/xugaoyi/vuepress-theme-vdoing-blog" alt="GitHub stars"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/actions?query=workflow%3ACI"><img src="https://github.com/xugaoyi/vuepress-theme-vdoing/workflows/CI/badge.svg" alt="CI"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/actions?query=workflow%3AbaiduPush"><img src="https://github.com/xugaoyi/vuepress-theme-vdoing/workflows/baiduPush/badge.svg" alt="baiduPush"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/commits/master"><img src="https://img.shields.io/github/last-commit/xugaoyi/vuepress-theme-vdoing" alt="last-commit"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/stargazers"><img src="https://img.shields.io/github/stars/xugaoyi/vuepress-theme-vdoing" alt="GitHub stars"></a>
</p>
@ -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 @@
<details>
<summary>查看文档</summary>
<ul>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/343">.vuepress/config.js 新增的配置</a></li>
<li>简单的<b>目录页</b>配置,查看 <a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/330">目录页配置</a>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/343">.vuepress/config.js 新增的配置</a></li>
<li>简单的<b>目录页</b>配置,查看 <a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/330">目录页配置</a>
</li>
<li><b>自动生成侧边栏工具</b> 让你拥有一个结构清晰的侧边栏,无需手动配置。<br/>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/113">根据目录自动生成侧边栏和分类标签的约定说明</a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/113">根据目录自动生成侧边栏和分类标签的约定说明</a>
</li>
<li><b>自动生成Front Matter工具</b> 助你专注于写作你无需给每个文件都手写front matter。<br/>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/324">自动生成Front Matter工具</a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/324">自动生成Front Matter工具</a>
</li>
<li>
可以添加第三方搜索链接的<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/blob/master/docs/.vuepress/plugins/enhanced-search/README.md">扩展的搜索框插件</a>
可以添加第三方搜索链接的<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/blob/master/docs/.vuepress/plugins/enhanced-search/README.md">扩展的搜索框插件</a>
</li>
<li>
<b>面包屑</b>和<b>快捷翻页按钮</b>内置于主题,无需配置。(面包屑数据依赖于自动生成侧边栏工具)
@ -62,32 +62,32 @@
<ul>
<li><a href="https://github.com/dongyuanxin/vuepress-plugin-comment">评论栏插件</a>
</li>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/331">时间轴+分类 页面配置</a> (分类数据依赖于自动生成侧边栏工具)
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/331">时间轴+分类 页面配置</a> (分类数据依赖于自动生成侧边栏工具)
</li>
<li>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/335">文章信息栏(作者与创建时间)</a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/335">文章信息栏(作者与创建时间)</a>
</li>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/334">最近更新栏</a></li>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog/issues/343">博主信息栏和页脚版权栏在config.js配置</a></li>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/334">最近更新栏</a></li>
<li><a href="https://github.com/xugaoyi/vuepress-theme-vdoing/issues/343">博主信息栏和页脚版权栏在config.js配置</a></li>
</ul>
</details>
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
| <img src="https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200410113708.jpg" alt="Wechat QRcode" width=200>| <img src="https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200410113707.jpg" alt="Alipay QRcode" width=200> |
## 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

View File

@ -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

View File

@ -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等技术文章。', // 描述,以 <meta> 标签渲染到页面html中
// base: '/vuepress-theme-vdoing-blog/', // 默认'/' || github仓库名'/<仓库名>/',
// base: '/vuepress-theme-vdoing/', // 默认'/' || github仓库名'/<仓库名>/',
head: [ // 注入到页面<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,

View File

@ -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主分支上。这就需要我操作两次命令**我就想能不能只需要一次操作就可以同时把源码、部署代码一次性提交到两个平台呢?**

View File

@ -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)

View File

@ -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)。
:::
## 背景

View File

@ -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)。
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog" target="_blank"><img src='https://img.shields.io/github/stars/xugaoyi/vuepress-theme-vdoing-blog' alt='GitHub stars' class="no-zoom"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog" target="_blank"><img src='https://img.shields.io/github/forks/xugaoyi/vuepress-theme-vdoing-blog' alt='GitHub forks' class="no-zoom"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank"><img src='https://img.shields.io/github/stars/xugaoyi/vuepress-theme-vdoing' alt='GitHub stars' class="no-zoom"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank"><img src='https://img.shields.io/github/forks/xugaoyi/vuepress-theme-vdoing' alt='GitHub forks' class="no-zoom"></a>
### 🐼Me
@ -26,7 +26,7 @@ article: false
<img src='https://cdn.jsdelivr.net/gh/xugaoyi/image_store/blog/20200103123203.jpg' alt='本人照片' style="width:106px;">
[更新日志](https://github.com/xugaoyi/vuepress-theme-vdoing-blog/commits/master)
[更新日志](https://github.com/xugaoyi/vuepress-theme-vdoing/commits/master)
## :email: 联系

View File

@ -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)。
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog" target="_blank"><img src='https://img.shields.io/github/stars/xugaoyi/vuepress-theme-vdoing-blog' alt='GitHub stars' class="no-zoom"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog" target="_blank"><img src='https://img.shields.io/github/forks/xugaoyi/vuepress-theme-vdoing-blog' alt='GitHub forks' class="no-zoom"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank"><img src='https://img.shields.io/github/stars/xugaoyi/vuepress-theme-vdoing' alt='GitHub stars' class="no-zoom"></a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank"><img src='https://img.shields.io/github/forks/xugaoyi/vuepress-theme-vdoing' alt='GitHub forks' class="no-zoom"></a>
</br>
@ -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)
### 💡更多

View File

@ -12,7 +12,7 @@
</a>
</div>
<template v-if="footer">
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing-blog" target="_blank" title="本站主题">Vdoing | </a>
<a href="https://github.com/xugaoyi/vuepress-theme-vdoing" target="_blank" title="本站主题">Vdoing | </a>
Copyright © {{ footer.createYear }}-{{ new Date().getFullYear() }}
<span v-html="footer.copyrightInfo"></span>
</template>

View File

@ -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"
}

View File

@ -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位置的数据的布尔值