Skip to content

Commit c5873e3

Browse files
committed
build: add Makefile with docs (Hugo) and astro dev-server targets
1 parent e1b41a5 commit c5873e3

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

Makefile

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Documentation site dev servers.
2+
#
3+
# make docs - run the Hugo docs site (docs/site) dev server
4+
# make astro - run the Astro docs site (docs/astro) dev server
5+
#
6+
# The two sites are a bake-off: both read the same content in docs/site/content.
7+
8+
.PHONY: docs astro
9+
10+
docs:
11+
cd docs/site && hugo server
12+
13+
astro:
14+
cd docs/astro && { [ -d node_modules ] || npm install; } && npm run dev

0 commit comments

Comments
 (0)