Skip to content

Commit

Permalink
[+]publish 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xingorg1 committed Nov 29, 2019
1 parent 54df22e commit 3c932fa
Show file tree
Hide file tree
Showing 23 changed files with 112 additions and 842 deletions.
4 changes: 4 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ cd -

# 曲折的发布之路
# 问题一:fatal: No remote repository specified. Please, specify either a URL or a remote name from which new revisions should be fetched.

# 问题二:
# The authenticity of host 'github.com (52.74.223.119)' can't be established.
# RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8.
Expand All @@ -52,3 +53,6 @@ cd -
# fatal: Could not read from remote repository.

# Please make sure you have the correct access rights

# 警告一(在配置了git的ssh key以后提醒的)
# Warning: Permanently added the RSA host key for IP address '192.30.253.112' to the list of known hosts.
74 changes: 35 additions & 39 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,45 +24,43 @@ module.exports = {
text: '主页',
link: '/'
}, {
text: '技术笔记',
text: '前端',
items: [{
text: '前端',
items: [{
text: 'html',
link: '/webNote/web/'
}, {
text: 'css',
link: '/webNote/css/'
}, {
text: 'js',
link: '/webNote/js/'
}, {
text: 'es',
link: '/webNote/es/'
}, {
text: 'vue',
link: '/webNote/vue/'
}, {
text: 'react',
link: '/webNote/react/'
}]
text: 'Html',
link: '/webNote/web/'
}, {
text: '开发工具',
items: [{
text: 'gitbook',
link: '/webNote/gitbook/'
},
{
text: 'vuepress',
link: '/webNote/vuepress/'
}
]
text: 'Css',
link: '/webNote/css/'
}, {
text: '后端',
items: [{
text: 'python',
link: '/webNote/python/'
}]
text: 'JS',
link: '/webNote/js/'
}, {
text: 'ES',
link: '/webNote/es/'
}, {
text: 'Vue',
link: '/webNote/vue/'
}, {
text: 'React',
link: '/webNote/react/'
}]
}, {
text: '工具',
items: [{
text: 'GitBook',
link: '/devTools/gitbook/'
},
{
text: 'VuePress',
link: '/devTools/vuepress/'
}
]
},
{
text: '后端',
items: [{
text: 'Python',
link: '/backEnd/python/'
}]
},
{
Expand Down Expand Up @@ -141,9 +139,7 @@ module.exports = {

/* vuepress-theme-yilia-plus 配置 */
yilia_plus: {
github: { // github-corner(关闭请设置为false)
url: "https://github.com/JoeyBling/vuepress-theme-yilia-plus"
},
github: false,
footer: {
since: 2019, // 网站成立年份(若填入年份小于当前年份,则显示为 2018-2019 类似的格式)
author: '<a href="https://github.com/xingorg1" target="_blank">xing.org1^ 小石头</a>', // 网站作者(关闭请设置为false)
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ xing.org1^ 小石头,三年前端从业经验。
- [公众号]()
- [个人项目](https://xingorg1.github.io/projectOfGjf/index.html)

**越努力,越幸运。**
> **越努力,越幸运。**
3 changes: 1 addition & 2 deletions docs/about/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# about me
<img :src="$withBase('/logo.png')" alt="logo">
# 关于我
2 changes: 1 addition & 1 deletion docs/about/aboutMe/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# about me - 关于我
# 关于我 - 我的简历
2 changes: 1 addition & 1 deletion docs/about/contact/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# about me - 与我联系
# 关于我 - 与我联系
1 change: 1 addition & 0 deletions docs/backEnd/python/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Python 学习笔记和资料
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# gitbookNote
This is my note about gitbook。
学习gitbook时的相关笔记


## gitbook安装教程
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,27 @@
# VuePress使用方法
[官网](https://www.vuepress.cn/)
---
title: VuePress 使用方法
description: VuePress 使用方法
---

# VuePress 使用方法
[VuePress官网](https://www.vuepress.cn/)

## 使用过程与关键知识点

### 将 VuePress 作为一个本地依赖安装
``````yarn add -D vuepress # 或者:npm install -D vuepress``````
``` bash
yarn add -D vuepress # 或者:npm install -D vuepress
```

### 新建一个 docs 文件夹
```mkdir docs```
``` bash
mkdir docs
```

### 新建一个 markdown 文件
```echo '# Hello VuePress!' > docs/README.md```
``` bash
echo '# Hello VuePress!' > docs/README.md
```

### package.json里添加内容
```json
Expand All @@ -20,20 +33,33 @@
}
```
### 开始写作
```npx vuepress dev docs```
```npm run docs:dev```
``` bash
npx vuepress dev docs
```
``` bash
npm run docs:dev
```

### 结束
```npm run docs:build```
``` bash
npm run docs:build
```

### 添加静态图片
```![imageName](imgUrl)```
```md
![imageName](imgUrl)
```

### 添加指定样式
1、 不使用预编译,直接在md底部添加style标签
2、使用预编译处理,首先需要安装所需的模块。举例:stylus
```npm i stylus stylus-loader -D```
``` html
<style lang="stylus"></style>
```
2、使用预编译处理,首先需要安装所需的模块。举例:stylus
``` bash
npm i stylus stylus-loader -D
```


### 在md文件中直接写js
```html
Expand All @@ -45,6 +71,7 @@
```

### 路径
``` bash
.
├─ README.md
├─ foo
Expand All @@ -55,16 +82,18 @@
├─ README.md
├─ three.md
└─ four.md
假设你现在在 foo/one.md 中:
```

假设你现在在 foo/one.md 中:
``` md
[Home](/) <!-- 跳转到根部的 README.md -->
[foo](/foo/) <!-- 跳转到 foo 文件夹的 index.html -->
[foo heading](./#heading) <!-- 跳转到 foo/index.html 的特定标题位置 -->
[bar - three](../bar/three.md) <!-- 具体文件可以使用 .md 结尾(推荐) -->
[bar - four](../bar/four.html) <!-- 也可以用 .html -->
```
### deploy
如果是windows用户就可以直接运行
```
./deploy.sh
根据已经配置好的deploy.sh脚本,在项目根目录打开git base,如果是windows用户就可以直接运行
``` bash
npm run deploy "提交说明文案"
```
2 changes: 1 addition & 1 deletion docs/diarys/novel/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# 文集 - 我的小说
# 文集 - 小说作品
2 changes: 1 addition & 1 deletion docs/hobby/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# hobby
# 我的兴趣爱好
3 changes: 2 additions & 1 deletion docs/hobby/movie/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# hobby - movie
# 爱好 - 电影
看过的电影和感触总结
3 changes: 2 additions & 1 deletion docs/hobby/music/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# hobby - music
# 爱好 - 音乐
我喜欢的音乐、歌词、我的音频、尤克丽丽
3 changes: 2 additions & 1 deletion docs/hobby/painting/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# hobby - painting
# 爱好 - 绘画
我的绘画作品、我喜欢的艺术作品
2 changes: 1 addition & 1 deletion docs/photograph/dailyLife/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# photograph - 日常生活
# 摄影作品 - 日常生活
2 changes: 1 addition & 1 deletion docs/photograph/scenery/README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# photograph - 风景
# 摄影作品 - 风景
11 changes: 6 additions & 5 deletions docs/webNote/js/README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
description: js模块
title: JS模块
description: JS模块
---

# js模块
# JS模块

平时用到的一些常见js模块记录笔记
平时用到的一些常见JS模块记录笔记

## 快捷入口
## 文档列表

[dom操作影响性能](performance-dom.md)
- [dom操作影响性能](performance-dom.md)
Loading

0 comments on commit 3c932fa

Please sign in to comment.