From c3082b111fa8bee2b13a121e3aa96068950ae42d Mon Sep 17 00:00:00 2001 From: kolaente Date: Fri, 16 Oct 2020 22:16:42 +0200 Subject: [PATCH] Add docs todo to PR template --- .gitea/pull_request_template.md | 2 +- magefile.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md index 437175d3f..b5bd61263 100644 --- a/.gitea/pull_request_template.md +++ b/.gitea/pull_request_template.md @@ -8,4 +8,4 @@ * [ ] I added or improved docs for my feature * [ ] Swagger (including `mage do-the-swag`) * [ ] Error codes - * [ ] New config options \ No newline at end of file + * [ ] New config options (including adding them to `config.yml.saml` and running `mage generate-docs`) diff --git a/magefile.go b/magefile.go index 550074de7..d835dad10 100644 --- a/magefile.go +++ b/magefile.go @@ -64,6 +64,7 @@ var ( "check:got-swag": Check.GotSwag, "release:os-package": Release.OsPackage, "dev:create-migration": Dev.CreateMigration, + "generate-docs": GenerateDocs, } )