forked from awslabs/aws-sdk-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (20 loc) · 634 Bytes
/
Copy pathMakefile
File metadata and controls
28 lines (20 loc) · 634 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
DOCS_PORT ?= 8000
PYTHON_VERSION := 3.12
.PHONY: docs docs-serve docs-clean docs-install docs-lock venv
venv:
uv venv --python $(PYTHON_VERSION)
docs-lock: venv
uv pip compile requirements-docs.in -o requirements-docs.txt
docs-install: venv
uv pip install -r requirements-docs.txt
uv pip install -e clients/*
docs-clean:
rm -rf site docs/clients
docs-generate:
uv run python scripts/docs/generate_all_doc_stubs.py
uv run python scripts/docs/generate_nav.py
docs: docs-generate
uv run zensical build
docs-serve:
@[ -d site ] || $(MAKE) docs
uv run python -m http.server $(DOCS_PORT) --bind 127.0.0.1 --directory site