Skip to content

Commit a509048

Browse files
author
shenliyang
committed
update for hexo@7
0 parents  commit a509048

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+14744
-0
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!--
2+
1.我已阅读 [Snippet主题README.md文档] 及常见问题。
3+
2.已搜索过相关[Issues]并无解决方案。
4+
-->
5+
6+
### 该问题是怎么引起的?
7+
8+
### 重现步骤
9+
10+
### 报错信息
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
---
5+
6+
> 请先确认以下情况:
7+
8+
- [ ] 拉取主题最新代码,问题依然存在。
9+
- [ ] 已经搜索 Issues 历史记录,并阅读过:[主题常见问题](https://github.com/shenliyang/hexo-theme-snippet#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
10+
- [ ] 提 Issues 前建议先阅读:[《你不知道的提 Issues 技巧》](https://github.com/shenliyang/hexo-theme-snippet#你不知道的提Issues技巧)
11+
12+
> 为了能精准定位问题,希望尽量提供一下信息
13+
14+
1. 相关问题截图
15+
2. 有线上环境,建议提供一下网址
16+
3. 如果是兼容 bug,建议提供下设备型号,浏览器名称及版本
17+
18+
------- **如果是意见或建议,可以忽略以内容** ------------
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
---
5+
6+
**Is your feature request related to a problem? Please describe.**
7+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
8+
9+
**Describe the solution you'd like**
10+
A clear and concise description of what you want to happen.
11+
12+
**Describe alternatives you've considered**
13+
A clear and concise description of any alternative solutions or features you've considered.
14+
15+
**Additional context**
16+
Add any other context or screenshots about the feature request here.

.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.DS_Store
2+
Thumbs.db
3+
ehthumbs.db
4+
*.log
5+
node_modules/
6+
public/
7+
.deploy*/
8+
.idea/
9+
.vscode/

.travis.yml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
language: node_js
2+
node_js:
3+
- "11.12.0"
4+
5+
sudo: false
6+
7+
#cache
8+
cache:
9+
directories:
10+
- "node_modules"
11+
12+
notifications:
13+
# 钉钉机器人消息推送部署结果
14+
webhooks:
15+
urls:
16+
- https://oapi.dingtalk.com/robot/send?access_token=${DINGDING_ACCESS_TOKEN}
17+
on_success: change
18+
on_failure: always
19+
20+
# 邮件发送部署结果通知
21+
email:
22+
recipients:
23+
24+
on_success: change
25+
on_failure: always
26+
27+
# S: Build Lifecycle
28+
before_install:
29+
- sudo apt-get install libnotify-bin
30+
31+
install:
32+
- npm install
33+
# - gem install travis
34+
# - travis login --pro --github-token ${GH_TOKEN}
35+
36+
before_script:
37+
- export TZ='Asia/Shanghai'
38+
- npm install -g gulp
39+
- chmod +x _travis.sh
40+
41+
script:
42+
- hexo clean && hexo g
43+
- gulp
44+
45+
after_success:
46+
47+
# - LAST_BUILD_NUMBER=68
48+
# - for i in $(seq 1 $LAST_BUILD_NUMBER ); do travis logs $i --delete --force ; done
49+
after_script:
50+
- ./_travis.sh
51+
52+
# E: Build LifeCycle
53+
branches:
54+
only:
55+
- dev
56+
57+
# - global env
58+
env:
59+
global:
60+
- GH_REF: github.com/shenliyang/shenliyang.github.io.git
61+
- GITEE_REF: gitee.com/shenliyang/shenliyang.git

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Snippet
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)