Skip to content

Commit

Permalink
add build-archive target to docs/Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rsms committed Sep 11, 2023
1 parent e062c1f commit d9db247
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ build: .ruby-bundle
rm -rf _site
bundle exec jekyll build

build-archive: .ruby-bundle
rm -rf _site-archive/inter-website/v3
mkdir -p _site-archive/inter-website/v3
bundle exec jekyll build --safe -d _site-archive/inter-website/v3 -b /inter-website/v3/

serve-archive: build-archive
serve-http -p 8198 _site-archive

serve: .ruby-bundle
./_scripts/serve.sh

Expand Down Expand Up @@ -57,4 +65,4 @@ glyphs/metrics.json: ../misc/tools/gen-metrics-and-svgs.py \

font-files/Inter-Regular.otf: fonts

.PHONY: default build serve dist info fonts
.PHONY: default build build-archive serve serve-archive dist info fonts

0 comments on commit d9db247

Please sign in to comment.