mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Fix build
This commit is contained in:
parent
b5ffffe955
commit
e57247fc38
@ -17,6 +17,7 @@
|
|||||||
- git worktree add _build/html gh-pages
|
- git worktree add _build/html gh-pages
|
||||||
- make ../esphomelib
|
- make ../esphomelib
|
||||||
- make html
|
- make html
|
||||||
|
- make convertimages
|
||||||
- git -C _build/html add --all
|
- git -C _build/html add --all
|
||||||
- git -C _build/html commit -m "Deploy to gh-pages"
|
- git -C _build/html commit -m "Deploy to gh-pages"
|
||||||
- git -C _build/html push -f git@github.com:${TARGET_REPO}.git gh-pages
|
- git -C _build/html push -f git@github.com:${TARGET_REPO}.git gh-pages
|
||||||
|
4
Makefile
4
Makefile
@ -35,10 +35,6 @@ $(ESPHOMELIB_PATH):
|
|||||||
convertimages:
|
convertimages:
|
||||||
python3 svg2png.py
|
python3 svg2png.py
|
||||||
|
|
||||||
deploy: cleanhtml doxyg html $(ESPHOMELIB_PATH) convertimages
|
|
||||||
git -C "$(BUILDDIR)/html" add --all && git -C "$(BUILDDIR)/html" commit -m "Deploy to gh-pages"
|
|
||||||
@printf "Run \033[0;36mcd $(BUILDDIR)/html && git push origin gh-pages\033[0m to deploy\n"
|
|
||||||
|
|
||||||
help:
|
help:
|
||||||
$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user