Add code of conduct to website.
This commit is contained in:
parent
7627de9c40
commit
0ce69090a0
1
.github/readme-generate.js
vendored
1
.github/readme-generate.js
vendored
|
@ -175,6 +175,7 @@ nav:
|
|||
- 进阶知识学习:
|
||||
{{after}}
|
||||
- CONTRIBUTING.md
|
||||
- CODE_OF_CONDUCT.md
|
||||
`;
|
||||
|
||||
async function main() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Code Of Counduct
|
||||
# 行为准则
|
||||
|
||||
## 这个仓库可以做什么?
|
||||
## 我们为什么坚持维护这个仓库
|
||||
|
||||
有很多朋友问我,为什么要维护这个仓库?为什么坚持精准的菜谱?未来这个仓库打算怎么发展?有没有想流量变现?我想在这里给出我自己的答案,并明确贡献的价值观吧。
|
||||
|
||||
|
|
5
build.sh
5
build.sh
|
@ -3,6 +3,9 @@ set -e
|
|||
|
||||
# Requires: Ruby, node, python
|
||||
|
||||
tput setaf 2; echo "Cleaning up..."; tput setaf 0
|
||||
rm ./node_modules -rf
|
||||
|
||||
tput setaf 2; echo "Installing markdown lint"; tput setaf 0
|
||||
gem install mdl
|
||||
|
||||
|
@ -10,7 +13,7 @@ tput setaf 2; echo "Generating new readme and mkdocs"; tput setaf 0
|
|||
node ./.github/readme-generate.js
|
||||
|
||||
tput setaf 2; echo "Running markdown lint to check issues."; tput setaf 0
|
||||
mdl . -r ~MD036,~MD024,~MD004,~MD029
|
||||
mdl ./dishes ./tips -r ~MD036,~MD024,~MD004,~MD029
|
||||
|
||||
tput setaf 2; echo "Installing python requirements..."; tput setaf 0
|
||||
pip install -r requirements.txt
|
||||
|
|
|
@ -253,3 +253,4 @@ nav:
|
|||
- 油温判断技巧: ./tips/advanced/油温判断技巧.md
|
||||
|
||||
- CONTRIBUTING.md
|
||||
- CODE_OF_CONDUCT.md
|
||||
|
|
Loading…
Reference in New Issue
Block a user