Skip to content

Commit d02c990

Browse files
committed
Attempt to get Netlify builds to pass using its system Python because we cannot apt install python3.8-venv
1 parent c71b912 commit d02c990

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,12 +204,11 @@ livehtml: deps ## Rebuild Sphinx documentation on changes, with live-reload in
204204
--ignore "*.swp" \
205205
-b html . "$(BUILDDIR)/html" $(SPHINXOPTS) $(O)
206206

207-
.PHONY: netlifyreqs
208-
netlifyreqs:
209-
sudo apt install python3.8-venv
210-
211207
.PHONY: netlify
212-
netlify: netlifyreqs html
208+
netlify:
209+
pip install -r requirements.txt
210+
docs/volto
211+
cd $(DOCS_DIR) && $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
213212

214213
.PHONY: all
215214
all: clean spellcheck linkcheck html ## Clean docs build, then run linkcheck and spellcheck, and build html

0 commit comments

Comments
 (0)