adding `make docs-{app,fabric,pytorch}` (#18611)
This commit is contained in:
parent
3fbf1540b0
commit
b5426903f1
14
Makefile
14
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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue