diff --git a/contribute.md b/.github/CONTRIBUTING.md similarity index 96% rename from contribute.md rename to .github/CONTRIBUTING.md index 80f2f78..c36f6c1 100644 --- a/contribute.md +++ b/.github/CONTRIBUTING.md @@ -2,7 +2,7 @@ * 在 GitHub 上 `fork` 到自己的仓库,如 `docker_user/docker_practice`,然后 `clone` 到本地,并设置用户信息。 - ```sh + ```bash $ git clone git@github.com:docker_user/docker_practice.git $ cd docker_practice $ git config user.name "yourname" @@ -11,7 +11,7 @@ * 修改代码后提交,并推送到自己的仓库。 - ```sh + ```bash $ #do some change on the content $ git commit -am "Fix issue #1: change helo to hello" $ git push @@ -20,7 +20,7 @@ * 在 GitHub 网站上提交 pull request。 * 定期使用项目仓库内容更新自己仓库内容。 - ```sh + ```bash $ git remote add upstream https://github.com/yeasy/docker_practice $ git fetch upstream $ git checkout master diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md new file mode 100644 index 0000000..c564724 --- /dev/null +++ b/.github/ISSUE_TEMPLATE.md @@ -0,0 +1,47 @@ +### your OS + + + + +* [x] Linux + + * [x] CentOS 7 + + * [ ] Ubuntu 14.04 + + * [ ] Ubuntu 16.04 + + * [ ] Ubuntu 17.04 + + * [ ] Ubuntu 17.10 + + * [ ] CoreOS + + * [ ] Debian 7.7 + + * [ ] Debian 8 + + * [ ] Debian 9 + + +* [ ] macOS + +* [ ] Windows 10 + +### Docker CE Version + + + + +* [x] 17.10 edge + +* [ ] 17.09 stable + +* [ ] 1.13.0 + +* [ ] 1.8.0 + +### Problem description + + + diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..72fa318 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,11 @@ + + +### Proposed changes (optional) + + + +### Fix issues (optional) + + diff --git a/README.md b/README.md index b637904..3b7f856 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ * pdf 版本 [下载](https://www.gitbook.com/download/pdf/book/yeasy/docker_practice) * epub 版本 [下载](https://www.gitbook.com/download/epub/book/yeasy/docker_practice) -Docker 自身仍在快速发展中,生态环境也在蓬勃成长。建议初学者使用 Linux 上最新版的 Docker (v17.10.0) 进行学习实践。欢迎参与维护项目:[如何贡献](contribute.md)。 +Docker 自身仍在快速发展中,生态环境也在蓬勃成长。建议初学者使用 Linux 上最新版的 Docker (v17.10.0) 进行学习实践。欢迎参与维护项目:[如何贡献](.github/CONTRIBUTING.md)。 * [修订记录](revision.md) * [贡献者名单](https://github.com/yeasy/docker_practice/graphs/contributors) diff --git a/SUMMARY.md b/SUMMARY.md index 88529c8..d861043 100644 --- a/SUMMARY.md +++ b/SUMMARY.md @@ -2,7 +2,7 @@ * [前言](README.md) * [修订记录](revision.md) -* [如何贡献](contribute.md) +* [如何贡献](.github/CONTRIBUTING.md) * [Docker 简介](introduction/README.md) * [什么是 Docker](introduction/what.md) * [为什么要用 Docker](introduction/why.md)