diff --git a/Makefile b/Makefile index c4d41db..ec353bd 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ dev-setup: .git/hooks/pre-commit $(VENV)/flake8 $(VENV)/black $(VENV)/mypy deps: $(VENV) $(VENV)/pip install -e '.[dev]' -$(VENV)/flake8 $(VENV)/black $(VENV)/mypy $(VENV)/pytest &: $(VENV)/pip +$(VENV)/flake8 $(VENV)/black $(VENV)/mypy $(VENV)/pytest $(VENV)/sphinx-build &: $(VENV)/pip $(VENV)/pip install -e '.[dev]' .PHONY: lint check-format format typecheck precommit test @@ -51,7 +51,7 @@ test: $(VENV)/pytest precommit: check-format typecheck lint test .PHONY: docs -docs: +docs: $(VENV)/sphinx-build $(MAKE) -C docs html .PHONY: clean diff --git a/setup.cfg b/setup.cfg index 7036b74..aa47881 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,6 +36,8 @@ dev = ipython==7.19.0 jedi<0.18 # Version specifier is because ipython v7.19.0 is incompatible with jedi 0.18; see https://github.com/ipython/ipython/issues/12780. sphinx + sphinx_autodoc_typehints + sphinx_rtd_theme scanpydoc>=0.5.5 [options.packages.find]