Add code of conduct to website.

This commit is contained in:
Anduin Xue 2022-03-07 03:11:28 +08:00
parent 7627de9c40
commit 0ce69090a0
4 changed files with 8 additions and 3 deletions

View File

@ -175,6 +175,7 @@ nav:
- 进阶知识学习:
{{after}}
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md
`;
async function main() {

View File

@ -1,6 +1,6 @@
# Code Of Counduct
# 行为准则
## 这个仓库可以做什么?
## 我们为什么坚持维护这个仓库
有很多朋友问我,为什么要维护这个仓库?为什么坚持精准的菜谱?未来这个仓库打算怎么发展?有没有想流量变现?我想在这里给出我自己的答案,并明确贡献的价值观吧。

View File

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

View File

@ -253,3 +253,4 @@ nav:
- 油温判断技巧: ./tips/advanced/油温判断技巧.md
- CONTRIBUTING.md
- CODE_OF_CONDUCT.md