Skip to content

Commit bc51ae6

Browse files
committed
Install dependencies for Python3 doc building
1 parent e080077 commit bc51ae6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

sdk/python/docs/Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,13 @@ clean:
1919
rm -rf $(PROJECT_ROOT)/sdk/python/docs/html
2020
rm -rf $(PROJECT_ROOT)/sdk/python/docs/build
2121

22+
install-dependencies:
23+
pip3 install -r $(PROJECT_ROOT)/sdk/python/requirements-ci.txt
24+
2225
build-api-source:
2326
python3 -m sphinx-apidoc -f -o source $(PROJECT_ROOT)/sdk/python/feast
2427

25-
html: clean build-api-source
26-
pip3 install -r $(PROJECT_ROOT)/sdk/python/requirements-ci.txt
28+
html: clean install-dependencies build-api-source
2729
python3 -m sphinx-build -b html source html
2830

2931
# Catch-all target: route all unknown targets to Sphinx using the new

0 commit comments

Comments
 (0)