mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-01-30 11:27:26 +01:00
Try to fix Travis build
This commit is contained in:
parent
24882c2057
commit
9cae185391
10
Makefile
10
Makefile
@ -184,13 +184,9 @@ material/%.yml: src/%.yml
|
|||||||
NAME = $(shell jq -r '.name' package.json)
|
NAME = $(shell jq -r '.name' package.json)
|
||||||
VERSION = $(shell jq -r '.version' package.json)
|
VERSION = $(shell jq -r '.version' package.json)
|
||||||
material: $$@/assets $$@/__init__.py $$@/mkdocs_theme.yml ${HTML}
|
material: $$@/assets $$@/__init__.py $$@/mkdocs_theme.yml ${HTML}
|
||||||
echo ${NAME}
|
@ sed -i"" "s/\$$md-name\$$/${NAME}/" $@/base.html
|
||||||
echo ${VERSION}
|
@ sed -i"" "s/\$$md-version\$$/${VERSION}/" $@/base.html
|
||||||
ls package.json
|
@ sed -i"" "s/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/" $@/base.html
|
||||||
cat package.json
|
|
||||||
@ sed -i "" 's/\$$md-name\$$/${NAME}/' $@/base.html
|
|
||||||
@ sed -i "" 's/\$$md-version\$$/${VERSION}/' $@/base.html
|
|
||||||
@ sed -i "" 's/\$$md-lunr-languages\$$/${LUNR_LANGUAGES}/' $@/base.html
|
|
||||||
@ echo "\n ${NAME}-${VERSION}\n"
|
@ echo "\n ${NAME}-${VERSION}\n"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user