Move packages

This commit is contained in:
Alex Root Junior 2022-07-10 00:21:34 +03:00
parent 70088cdd65
commit 4f12b6792f
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
109 changed files with 364 additions and 384 deletions

View file

@ -105,10 +105,22 @@ test-coverage-view:
# Docs
# =================================================================================================
.PHONY: docs-serve
locales := en uk_UA ru
locale_targets := $(addprefix docs-serve-, $(locales))
docs-gettext:
cd docs && make gettext
cd docs && sphinx-intl update -p _build/gettext $(addprefix -l , $(locales))
.PHONY: docs-gettext
docs-serve:
rm -rf docs/_build
$(py) sphinx-autobuild --watch aiogram/ docs/ docs/_build/
$(py) sphinx-autobuild --watch aiogram/ docs/ docs/_build/ $(OPTS)
.PHONY: docs-serve
$(locale_targets): docs-serve-%:
$(MAKE) docs-serve OPTS="-D language=$(subst docs-serve-,,$@)"
.PHONY: $(locale_targets)
# =================================================================================================
# Project