Skip to content

Commit

Permalink
docs(api): migrating the Middleware Factory utility to mkdocstrings (a…
Browse files Browse the repository at this point in the history
…ws-powertools#6019)

* Mkdocstrings - Middleware Factory

* Mkdocstrings - Middleware Factory

---------

Co-authored-by: Simon Thulbourn <[email protected]>
  • Loading branch information
2 people authored and sinofseven committed Feb 13, 2025
1 parent 6bcea44 commit d0f850b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion aws_lambda_powertools/middleware_factory/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
"""Utilities to enhance middlewares"""
"""Utilities to enhance middleware
!!! abstract "Usage Documentation"
[`Middleware Factory`](../utilities/middleware_factory.md)
"""

from .factory import lambda_handler_decorator

Expand Down
2 changes: 2 additions & 0 deletions docs/api_doc/middleware_factory.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<!-- markdownlint-disable MD043 MD041 -->
::: aws_lambda_powertools.middleware_factory
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ nav:
- Persistence: api_doc/idempotency/persistence.md
- Serialization: api_doc/idempotency/serialization.md
- JMESPath Functions: api_doc/jmespath_functions.md
- Middleware Factory: api_doc/middleware_factory.md
- Parameters:
- Base: api_doc/parameters/base.md
- AppConfig: api_doc/parameters/appconfig.md
Expand Down

0 comments on commit d0f850b

Please sign in to comment.