mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Dev 3.x flat package (#961)
* Move packages * Added changelog * Update examples/echo_bot.py Co-authored-by: Oleg A. <t0rr@mail.ru> * Rename `handler` -> `handlers` * Update __init__.py Co-authored-by: Oleg A. <t0rr@mail.ru>
This commit is contained in:
parent
5e7932ca20
commit
4315ecf1a2
111 changed files with 376 additions and 390 deletions
16
Makefile
16
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue