Commit f4b68f8b authored by Gerson Sunyé's avatar Gerson Sunyé

Old changes I dont remember

parent fff8a424
Pipeline #19283 failed with stages
in 3 minutes and 4 seconds
......@@ -12,7 +12,7 @@ STEREOPTICON=$(REVEALJS_DIR)/css/theme/stereopticon.css
SLIDE_SOURCES := $(wildcard $(SLIDE_DIR)/*.adoc)
SLIDE_TARGETS := $(patsubst $(SLIDE_DIR)/%.adoc, $(SITE_DIR)/%.html, $(SLIDE_SOURCES))
.PHONY: clean slides book
.PHONY: clean slides book serve
$(SITE_DIR)/%.html: $(SLIDE_DIR)/%.adoc
@echo '[Generating Reveal.js website]'
......@@ -41,7 +41,7 @@ prepare: $(REVEALJS_DIR) $(STEREOPTICON) $(MDE)
$(REVEALJS_DIR):
git clone -b 3.9.2 --depth 1 https://github.com/hakimel/reveal.js.git $(REVEALJS_DIR) 2> /dev/null || (cd $(REVEALJS_DIR) ; git pull)
$(MDE):
wget --directory-prefix=$(SITE_DIR) https://github.com/highlightjs/highlightjs-mde-languages/releases/download/0.1.0/mde-languages.min.js
......@@ -50,3 +50,6 @@ $(STEREOPTICON):
clean:
rm -rf target
serve:
live-server ./target/site &
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment