fix: make sure theme.css is present when generating slides
This commit is contained in:
parent
f5bdb17939
commit
fa29b964f0
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -84,13 +84,16 @@ images: $(DOCS_IMAGES_SVG) $(DOCS_IMAGES_PNG) ## build images
|
||||||
%.circo.svg: %.circo
|
%.circo.svg: %.circo
|
||||||
circo -Tsvg $< > $@
|
circo -Tsvg $< > $@
|
||||||
|
|
||||||
|
.marp/theme.css:
|
||||||
|
cd .marp && $(MAKE) theme.css
|
||||||
|
|
||||||
watch: ## run development server
|
watch: ## run development server
|
||||||
pipenv run honcho start
|
pipenv run honcho start
|
||||||
|
|
||||||
watch-docs-internal:
|
watch-docs-internal:
|
||||||
pipenv run mkdocs serve --dev-addr 0.0.0.0:$(DOCS_PORT)
|
pipenv run mkdocs serve --dev-addr 0.0.0.0:$(DOCS_PORT)
|
||||||
|
|
||||||
watch-slides-internal:
|
watch-slides-internal: .marp/theme.css
|
||||||
PORT=$(SLIDES_PORT) \
|
PORT=$(SLIDES_PORT) \
|
||||||
npx marp \
|
npx marp \
|
||||||
--engine $$(pwd)/.marp/engine.js \
|
--engine $$(pwd)/.marp/engine.js \
|
||||||
|
|
Loading…
Reference in a new issue