mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-04 19:03:39 +00:00
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
|
||||
- make ci-install-alpine-requirements
|
||||
- pip install -r requirements/docs.txt
|
||||
- cd docs && make
|
||||
- make docs
|
||||
artifacts:
|
||||
paths:
|
||||
- docs/_build/html
|
||||
|
4
Makefile
4
Makefile
@ -1,9 +1,13 @@
|
||||
.DEFAULT_GOAL := help
|
||||
.PHONY: docs
|
||||
SRC_DIRS = ./tutor ./tests ./bin
|
||||
BLACK_OPTS = --exclude templates ${SRC_DIRS}
|
||||
|
||||
###### Development
|
||||
|
||||
docs: ## Build html documentation
|
||||
$(MAKE) -C docs
|
||||
|
||||
compile-requirements: ## Compile requirements files
|
||||
pip-compile -o requirements/base.txt requirements/base.in
|
||||
pip-compile -o requirements/dev.txt requirements/dev.in
|
||||
|
Loading…
Reference in New Issue
Block a user