mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Update Makefile
This commit is contained in:
parent
9de6037c7c
commit
f9e8305ad7
6
Makefile
6
Makefile
@ -21,9 +21,13 @@ minifyhtml: html
|
||||
doxyg:
|
||||
ESPHOMELIB_PATH=$(ESPHOMELIB_PATH) doxygen Doxygen
|
||||
|
||||
fixdeploy: cleanhtml doxyg html minifyhtml
|
||||
copypdf:
|
||||
cp $(BUILDDIR)/latex/$(SPHINXPROJ).pdf $(BUILDDIR)/esphomelib.pdf
|
||||
|
||||
fixdeploy: copypdf cleanhtml doxyg html minifyhtml
|
||||
touch "$(BUILDDIR)/html/.nojekyll"
|
||||
echo "esphomelib.com" >"$(BUILDDIR)/html/CNAME"
|
||||
cp $(BUILDDIR)/esphomelib.pdf $(BUILDDIR)/latex/$(SPHINXPROJ).pdf
|
||||
cd "$(BUILDDIR)/html" && git add --all && git commit -m "Deploy to gh-pages"
|
||||
@printf "Run \033[0;36mcd $(BUILDDIR)/html && git push origin gh-pages\033[0m to deploy\n"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user