Skip to content

docs: add aiogram integration usage page#296

Merged
lesnik512 merged 2 commits into
mainfrom
docs/aiogram-integration
Jul 10, 2026
Merged

docs: add aiogram integration usage page#296
lesnik512 merged 2 commits into
mainfrom
docs/aiogram-integration

Conversation

@lesnik512

Copy link
Copy Markdown
Member

Adds the usage page for the new modern-di-aiogram integration
(modern-python/modern-di-aiogram),
plus its nav entries.

Changes

  • docs/integrations/aiogram.md — usage page mirroring the other middleware+@inject
    integration pages (install, setup_di, @dispatcher.message() + @inject,
    auto_inject=True, sync-resolution / async-cleanup note, the update/event context providers).
  • mkdocs.yml — nav entry in both the top-level nav and the redirect section, first (alphabetical).

Verified with mkdocs build --strict (clean).

⚠️ Do not merge until the package is published

The page instructs pip install modern-di-aiogram, which only works once the
package is on PyPI. Hold this PR until modern-di-aiogram has its first PyPI release.

🤖 Generated with Claude Code

The auto-inject block referenced Settings/AppGroup without defining them; add
the definitions (mirroring the first example) so the block is independently
runnable, matching the sibling integration pages.
@lesnik512 lesnik512 merged commit 8e4c914 into main Jul 10, 2026
7 checks passed
@lesnik512 lesnik512 deleted the docs/aiogram-integration branch July 10, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant