Skip to content

Commit 4a41b9f

Browse files
committed
Dropped github pages generation
Building gives a warning because the gh-pages branch doesn't exist anymore.
1 parent b1f3cfc commit 4a41b9f

File tree

2 files changed

+3
-27
lines changed

2 files changed

+3
-27
lines changed

docs/Makefile

+3-23
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@ BUILDDIR = .
1717
PYTHON ?= python
1818
PLOTS = $(patsubst ../bench/%.txt,html/img/%.png,$(sort $(wildcard ../bench/*.txt)))
1919

20-
.PHONY: env html upload clean
20+
.PHONY: env html clean
2121

2222
default: html
2323

24-
html: $(PLOTS) html/.gitignore html/.nojekill
25-
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) \
26-
. $(BUILDDIR)/html
24+
html: $(PLOTS)
25+
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) . $(BUILDDIR)/html
2726

2827
html/img/%.png: ../bench/%.txt
2928
mkdir -p html/img
@@ -35,25 +34,6 @@ html/img/%.png: ../bench/%.txt
3534
env:
3635
virtualenv -p $(PYTHON) $(ENV_DIR)
3736
$(ENV_BIN)/pip install -r requirements.txt
38-
# Clone the github pages repository to update
39-
# Fail silently if this is not a git repos (upload won't work of course)
40-
git status 2>/dev/null \
41-
&& git clone -b gh-pages \
42-
$$(git remote show -n origin | awk '/URL/ {print $$NF; exit}') \
43-
html \
44-
|| true
45-
46-
html/.gitignore: html-gitignore
47-
cp $< $@
48-
49-
html/.nojekill:
50-
touch $@
51-
52-
upload:
53-
cd html && test -d .git \
54-
&& git add --all \
55-
&& git commit -m "website update on $$(date)" \
56-
&& git push
5737

5838
clean:
5939
# Do not delete .gitignore and .git directories

docs/html-gitignore

-4
This file was deleted.

0 commit comments

Comments
 (0)