Skip to content

Commit d0f850b

Browse files
leandrodamascenasthulb
authored andcommitted
docs(api): migrating the Middleware Factory utility to mkdocstrings (aws-powertools#6019)
* Mkdocstrings - Middleware Factory * Mkdocstrings - Middleware Factory --------- Co-authored-by: Simon Thulbourn <[email protected]>
1 parent 6bcea44 commit d0f850b

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

aws_lambda_powertools/middleware_factory/__init__.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
"""Utilities to enhance middlewares"""
1+
"""Utilities to enhance middleware
2+
!!! abstract "Usage Documentation"
3+
[`Middleware Factory`](../utilities/middleware_factory.md)
4+
"""
25

36
from .factory import lambda_handler_decorator
47

docs/api_doc/middleware_factory.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<!-- markdownlint-disable MD043 MD041 -->
2+
::: aws_lambda_powertools.middleware_factory

mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ nav:
8686
- Persistence: api_doc/idempotency/persistence.md
8787
- Serialization: api_doc/idempotency/serialization.md
8888
- JMESPath Functions: api_doc/jmespath_functions.md
89+
- Middleware Factory: api_doc/middleware_factory.md
8990
- Parameters:
9091
- Base: api_doc/parameters/base.md
9192
- AppConfig: api_doc/parameters/appconfig.md

0 commit comments

Comments
 (0)