Skip to content

docs: add Flask integration usage page#300

Merged
lesnik512 merged 1 commit into
mainfrom
docs/flask-integration
Jul 10, 2026
Merged

docs: add Flask integration usage page#300
lesnik512 merged 1 commit into
mainfrom
docs/flask-integration

Conversation

@lesnik512

Copy link
Copy Markdown
Member

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

Changes

  • docs/integrations/flask.md — usage page mirroring the middleware+@inject
    pages (install, setup_di, @app.route + @inject, auto_inject=True,
    per-request scope via before_request/teardown_appcontext, user-owned root
    teardown, the request context provider).
  • mkdocs.yml — nav entry in both blocks, alphabetical.

Verified with mkdocs build --strict (clean); every code block runs standalone.

⚠️ Do not merge until the package is published

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

🤖 Generated with Claude Code

@lesnik512 lesnik512 merged commit bdfe76d into main Jul 10, 2026
7 checks passed
@lesnik512 lesnik512 deleted the docs/flask-integration branch July 10, 2026 15:02
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