From 2ab547e3e2fc2196db9135c304882d564473097b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 11 Nov 2020 20:03:08 +0000 Subject: [PATCH 1/2] Add renovate.json --- renovate.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..f45d8f1 --- /dev/null +++ b/renovate.json @@ -0,0 +1,5 @@ +{ + "extends": [ + "config:base" + ] +} From 43b340d2ff6204b84033cfd0630e74f68275f4a4 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 11 Nov 2020 21:49:10 +0100 Subject: [PATCH 2/2] disable drone and configure docs theme update --- Makefile | 6 +++--- renovate.json | 15 ++++++++++++--- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 631180b..ad76924 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,5 @@ -export GEEKDOC_VERSION ?= latest +# renovate: datasource=github-releases depName=thegeeklab/hugo-geekdoc +THEME_VERSION := v0.4.0 THEME := hugo-geekdoc BASEDIR := docs THEMEDIR := $(BASEDIR)/themes @@ -14,8 +15,7 @@ doc: doc-assets doc-generate .PHONY: doc-assets doc-assets: mkdir -p $(THEMEDIR)/$(THEME)/ ; \ - curl -sSL "https://github.com/thegeeklab/$(THEME)/releases/$${GEEKDOC_VERSION}/download/$(THEME).tar.gz" | tar -xz -C $(THEMEDIR)/$(THEME)/ --strip-components=1 - + curl -sSL "https://github.com/thegeeklab/$(THEME)/releases/download/${THEME_VERSION}/$(THEME).tar.gz" | tar -xz -C $(THEMEDIR)/$(THEME)/ --strip-components=1 .PHONY: doc-generate doc-generate: pdoc --template-dir $(BASEDIR)/templates/ -o $(APIDIR) --force \ diff --git a/renovate.json b/renovate.json index f45d8f1..91ced0d 100644 --- a/renovate.json +++ b/renovate.json @@ -1,5 +1,14 @@ { - "extends": [ - "config:base" - ] + "extends": ["config:base"], + "regexManagers": [ + { + "fileMatch": ["^Makefile$"], + "matchStrings": [ + "# renovate: datasource=(?\\S+) depName=(?\\S+)( versioning=(?.*?))?\\n.*?_VERSION := (?.*)\\s" + ] + } + ], + "droneci": { + "enabled": false + } }