-
Notifications
You must be signed in to change notification settings - Fork 60
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (24 loc) · 804 Bytes
/
Makefile
File metadata and controls
28 lines (24 loc) · 804 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: build
build:
cd site && bundle exec jekyll build --destination ../docs/
@# Sphinx likes to put stuff in _static and _sources.
@# Jekyll will strip these out except for a whitelist,
@# which has no glob capability and would need to be
@# updated every release.
@# So just copy the docs directory entirely.
rsync --recursive --exclude '.*' site/docs/ ./docs/docs/
touch ./docs/.nojekyll
@echo "Open $$PWD/docs/index.html"
update-jekyll:
bundle update
bundle outdated
.PHONY: update-releases-json
update-releases-json:
curl https://api.github.com/repos/fish-shell/fish-shell/releases \
| ./tools/update_release_metadata.py \
> ./site/_data/releases.json
.PHONY: new-release
new-release: update-releases-json build
clean:
bundle install
cd site && bundle exec jekyll clean