11.PHONY : clean-pyc clean-build clean docs
22UNAME := $(shell uname)
33
4- SPHINX_BUILDARGS =
5- # Note that these are keys generated by the docker rsconnect service, so are
6- # not really secrets. They are saved to json to make it easy to use rsconnect
7- # as multiple users from the tests
84RSC_API_KEYS =vetiver/tests/rsconnect_api_keys.json
95
106ifeq ($(UNAME ) , Darwin)
@@ -22,16 +18,15 @@ help:
2218 @echo " test - run tests quickly with the default Python"
2319 @echo " test-rsc - run tests for rsconnect"
2420 @echo " coverage - check code coverage quickly with the default Python"
25- @echo " docs - generate Sphinx HTML documentation, including API docs"
26- @echo " cdocs - cleanout previous build & generate Sphinx HTML documentation, including API docs"
21+ @echo " docs - generate HTML documentation, including API docs"
2722 @echo " release - package and upload a release"
2823 @echo " dist - package"
2924 @echo " install - install the package to the active Python's site-packages"
3025 @echo " dev - generate RStudio Connect API keys"
3126 @echo " dev-start - start up development RStudio Connect in Docker"
3227 @echo " dev-stop - stop RStudio Connect dev container"
3328
34- clean : clean-build clean-pyc clean-test docs-clean
29+ clean : clean-build clean-pyc clean-test
3530
3631clean-build :
3732 rm -fr build/
@@ -65,14 +60,8 @@ coverage:
6560 coverage html
6661 $(BROWSER ) htmlcov/index.html
6762
68- cdocs cdoc cdocumentation : docs-clean docs
69-
70- docs-clean :
71- $(MAKE ) -C docs clean
72-
7363docs doc documentation :
74- $(MAKE ) -C docs html
75- $(BROWSER ) docs/_build/html/index.html
64+ $(MAKE ) -C docs docs
7665
7766release : dist
7867 twine upload dist/*
0 commit comments