-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 1.08 KB
/
Makefile
File metadata and controls
33 lines (26 loc) · 1.08 KB
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
29
30
31
32
33
# Default to 'dev' if TAGS is not specified on the command line
TAGS ?= dev
.PHONY: docs serve-docs clean-docs clean doxy clean-doxy
# Example usage: `make docs TAGS="v2.0.0 latest --update-aliases"`
docs: clean-docs
@echo "==> Deploying MkDocs documentation locally via mike (Tags: $(TAGS))..."
uv run mike deploy $(TAGS)
@echo "==> Documentation deployed to local gh-pages branch."
serve-docs: docs
@echo "==> Serving versioned MkDocs documentation locally via mike..."
uv run mike serve
docs-concepts: clean-docs
@echo "==> Deploying MkDocs documentation locally via mike (Tags: $(TAGS))..."
doxygen Doxyfile
uv run python scripts/gen_concept_docs.py --config docs/config/concepts.json --xml documentation/xml --out docs/cpp-gl
uv run mike deploy $(TAGS)
@echo "==> Documentation deployed to local gh-pages branch."
serve-docs-concepts: docs-concepts
@echo "==> Serving versioned MkDocs documentation locally via mike..."
uv run mike serve
clean-docs:
@echo "==> Cleaning documentation build directories..."
rm -rf docs/cpp-gl/
rm -rf site/
rm -rf documentation/
clean: clean-docs