From 25b693617c2d4185318ad1bb64b6f2aa35d4e8a8 Mon Sep 17 00:00:00 2001 From: Richard Gee Date: Tue, 1 Oct 2019 21:37:13 +0100 Subject: [PATCH 1/2] Make PR template more pertinent to docs changes Signed-off-by: Richard Gee --- .github/PULL_REQUEST_TEMPLATE.md | 23 +++++++++++++---------- README.md | 2 +- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index b5995ae5..5e23ac5b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -10,21 +10,24 @@ ## How Has This Been Tested? - - - + - [ ] I have tested the markdown appearance with Docker (Refer to the [local development instructions](https://github.com/openfaas/docs#local-development)) + + ## Types of changes - -- [ ] Bug fix (non-breaking change which fixes an issue) -- [ ] New feature (non-breaking change which adds functionality) -- [ ] Breaking change (fix or feature that would cause existing functionality to change) + + + +- [ ] New Content +- [ ] Content Correction +- [ ] Content Improvement +- [ ] Non-content (config/templates/mkdocs/CSS) ## Checklist: - - [ ] My code follows the code style of this project. -- [ ] My change requires a change to the documentation. -- [ ] I have updated the documentation accordingly. +- [ ] I have tested any new instructions +- [ ] I am the author +- [ ] I am not the author but have permission to share this text and have referenced the source - [ ] I've read the [CONTRIBUTION](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) guide - [ ] I have signed-off my commits with `git commit -s` diff --git a/README.md b/README.md index a8b47926..874e100b 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is the source repository for the OpenFaaS documentation site. -For local development: +## Local development: ```shell # docker run --rm -it -p 8000:8000 -v `pwd`:/docs squidfunk/mkdocs-material From cf094f3ff7117f4fd1a8f66bf12ba31b31fc57a3 Mon Sep 17 00:00:00 2001 From: Richard Gee Date: Tue, 8 Oct 2019 17:36:15 +0100 Subject: [PATCH 2/2] Amend PR Template checklist items Signed-off-by: Richard Gee --- .github/PULL_REQUEST_TEMPLATE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 5e23ac5b..4a72292b 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -27,7 +27,7 @@ - [ ] My code follows the code style of this project. - [ ] I have tested any new instructions -- [ ] I am the author -- [ ] I am not the author but have permission to share this text and have referenced the source +- [ ] I have included copyrighted materials from third parties. +- [ ] I have permission to use copyrighted materials from third parties. - [ ] I've read the [CONTRIBUTION](https://github.com/openfaas/faas/blob/master/CONTRIBUTING.md) guide - [ ] I have signed-off my commits with `git commit -s`