Add "docs" target to root makefile
This commit is contained in:
parent
e8115138ae
commit
42359b8f02
|
@ -28,7 +28,7 @@ build:docs:
|
||||||
- apk add --no-cache make
|
- apk add --no-cache make
|
||||||
- make ci-install-alpine-requirements
|
- make ci-install-alpine-requirements
|
||||||
- pip install -r requirements/docs.txt
|
- pip install -r requirements/docs.txt
|
||||||
- cd docs && make
|
- make docs
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- docs/_build/html
|
- docs/_build/html
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -1,9 +1,13 @@
|
||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
|
.PHONY: docs
|
||||||
SRC_DIRS = ./tutor ./tests ./bin
|
SRC_DIRS = ./tutor ./tests ./bin
|
||||||
BLACK_OPTS = --exclude templates ${SRC_DIRS}
|
BLACK_OPTS = --exclude templates ${SRC_DIRS}
|
||||||
|
|
||||||
###### Development
|
###### Development
|
||||||
|
|
||||||
|
docs: ## Build html documentation
|
||||||
|
$(MAKE) -C docs
|
||||||
|
|
||||||
compile-requirements: ## Compile requirements files
|
compile-requirements: ## Compile requirements files
|
||||||
pip-compile -o requirements/base.txt requirements/base.in
|
pip-compile -o requirements/base.txt requirements/base.in
|
||||||
pip-compile -o requirements/dev.txt requirements/dev.in
|
pip-compile -o requirements/dev.txt requirements/dev.in
|
||||||
|
|
Loading…
Reference in New Issue