diff --git a/Makefile b/Makefile index fee23e40cb..8694ac38a6 100644 --- a/Makefile +++ b/Makefile @@ -46,9 +46,21 @@ test: clean python -m coverage run --source src/lightning/fabric -m pytest src/lightning/fabric tests/tests_fabric -v python -m coverage report -docs: clean +docs: docs-pytorch + +pull-template: pip install -q awscli aws s3 sync --no-sign-request s3://sphinx-packages/ dist/ + +docs-app: clean pull-template + pip install -e .[all] --quiet -r requirements/app/docs.txt -f dist/ + cd docs/source-app && $(MAKE) html --jobs $(nproc) + +docs-fabric: clean pull-template + pip install -e .[all] --quiet -r requirements/fabric/docs.txt -f dist/ + cd docs/source-fabric && $(MAKE) html --jobs $(nproc) + +docs-pytorch: clean pull-template pip install -e .[all] --quiet -r requirements/pytorch/docs.txt -f dist/ cd docs/source-pytorch && $(MAKE) html --jobs $(nproc)