From 6c023413032fda96014462e5e6b76dccf191fcf7 Mon Sep 17 00:00:00 2001 From: jrootjunior Date: Fri, 15 Nov 2019 14:11:50 +0200 Subject: [PATCH] Add docs to Makefile --- .gitignore | 1 + Makefile | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/.gitignore b/.gitignore index a9558b26..a646d725 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ __pycache__/ env/ build/ dist/ +site/ *.egg-info/ *.egg diff --git a/Makefile b/Makefile index 488541e9..e04b5f05 100644 --- a/Makefile +++ b/Makefile @@ -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