[path 统一调整]

This commit is contained in:
eryajf
2021-07-01 00:28:32 +08:00
parent 31e7deac1c
commit 8f13426739
5 changed files with 12 additions and 12 deletions

View File

@@ -21,5 +21,5 @@ jobs:
clone_style: "ssh" #使用ssh方式进行clone也可以使用https
debug: true #启用后会显示所有执行命令
force_update: true #启用后,强制同步,即强制覆盖目的端仓库
static_list: "eryajf-docsify" #静态同步列表,在此填写需要同步的仓库名称,可填写多个
static_list: "Learning-Weekly" #静态同步列表,在此填写需要同步的仓库名称,可填写多个
timeout: '600s' #git超时设置超时后会自动重试git操作

View File

@@ -1,8 +1,8 @@
![logo](https://ae01.alicdn.com/kf/HTB1oFMme79E3KVjSZFG76319XXap.png ':size=100')
# eryajf-docsify
# Learning-Weekly
> 💻学习📝记录🔗分享
[源码](https://github.com/eryajf/eryajf-docsify)
[源码](https://github.com/eryajf/Learning-Weekly)
[浏览](README.md)

View File

@@ -42,14 +42,14 @@
- fork项目之后将项目克隆到本地
```
git clone https://github.com/eryajf/eryajf-docsify.git
git clone https://github.com/eryajf/Learning-Weekly.git
```
- 修改本地path
```
# 调整 docs/index.html 的basePath
basePath: '/eryajf-docsify/', // github
basePath: '/Learning-Weekly/', // github
// basePath: '/', // 本地
```

View File

@@ -1,8 +1,8 @@
![logo](./img/logo.png ':size=100')
# eryajf-docsify
# Learning-Weekly
> 💻学习📝记录🔗分享
[源码](https://github.com/eryajf/eryajf-docsify)
[源码](https://github.com/eryajf/Learning-Weekly)
[浏览](README.md)

View File

@@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>eryajf-docsify</title>
<title>Learning-Weekly</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<link rel="icon" href="img/favicon.ico">
@@ -101,8 +101,8 @@
<div id="app"></div>
<script>
window.$docsify = {
name: 'eryajf-docsify',
repo: 'https://github.com/eryajf/eryajf-docsify',
name: 'Learning-Weekly',
repo: 'https://github.com/eryajf/Learning-Weekly',
coverpage: true,
basePath: '/Learning-Weekly/', // github
// basePath: '/', // 本地
@@ -154,7 +154,7 @@
// edit on github
editLink: {
text: 'Edit On GitHub',
repo: 'https://github.com/eryajf/eryajf-docsify/edit/main/docs/',
repo: 'https://github.com/eryajf/Learning-Weekly/edit/main/docs/',
cssClass: 'docsify-edit-link m-0'
},
//添加页脚,如果需要的话
@@ -215,7 +215,7 @@
var gitalk = new Gitalk({
clientID: '131ff82b6e2a3191e593',
clientSecret: '160d595628976f64faf8994a40bf7637e94550dc',
repo: 'eryajf-docsify',
repo: 'Learning-Weekly',
owner: 'eryajf',
admin: ['eryajf'],
id: md5(location.pathname),