mirror of
https://github.com/thegeeklab/corenetworks.git
synced 2024-11-14 16:50:39 +00:00
disable drone and configure docs theme update
This commit is contained in:
parent
2ab547e3e2
commit
43b340d2ff
6
Makefile
6
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
|
THEME := hugo-geekdoc
|
||||||
BASEDIR := docs
|
BASEDIR := docs
|
||||||
THEMEDIR := $(BASEDIR)/themes
|
THEMEDIR := $(BASEDIR)/themes
|
||||||
@ -14,8 +15,7 @@ doc: doc-assets doc-generate
|
|||||||
.PHONY: doc-assets
|
.PHONY: doc-assets
|
||||||
doc-assets:
|
doc-assets:
|
||||||
mkdir -p $(THEMEDIR)/$(THEME)/ ; \
|
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
|
.PHONY: doc-generate
|
||||||
doc-generate:
|
doc-generate:
|
||||||
pdoc --template-dir $(BASEDIR)/templates/ -o $(APIDIR) --force \
|
pdoc --template-dir $(BASEDIR)/templates/ -o $(APIDIR) --force \
|
||||||
|
@ -1,5 +1,14 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": ["config:base"],
|
||||||
"config:base"
|
"regexManagers": [
|
||||||
]
|
{
|
||||||
|
"fileMatch": ["^Makefile$"],
|
||||||
|
"matchStrings": [
|
||||||
|
"# renovate: datasource=(?<datasource>\\S+) depName=(?<depName>\\S+)( versioning=(?<versioning>.*?))?\\n.*?_VERSION := (?<currentValue>.*)\\s"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"droneci": {
|
||||||
|
"enabled": false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user