Add docs to Makefile

This commit is contained in:
jrootjunior 2019-11-15 14:11:50 +02:00
parent a6573656d0
commit 6c02341303
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@ __pycache__/
env/
build/
dist/
site/
*.egg-info/
*.egg

View file

@ -20,6 +20,9 @@ help:
@echo "Tests:"
@echo " test: Run tests"
@echo ""
@echo "Documentation:"
@echo " docs: Build docs"
@echo " docs-serve: Serve docs for local development"
@echo ""
@echo ""
@ -51,3 +54,11 @@ lint: isort black flake8 mypy
.PHONY: test
test:
poetry run pytest --cov=aiogram --cov-config .coveragerc tests/ -sq
.PHONY: docs
docs:
mkdocs build
.PHONY: docs-serve
docs-serve:
mkdocs serve