Skip to content

Commit 8e45d07

Browse files
committed
feat: enable code annotation, anchor tracking
1 parent c04f88f commit 8e45d07

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docs/index.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -454,5 +454,7 @@ As a best practice, AWS Lambda Powertools module logging statements are suppress
454454
```python title="Powertools debug mode example"
455455
from aws_lambda_powertools.logging.logger import set_package_logger
456456

457-
set_package_logger()
457+
set_package_logger() # (1)
458458
```
459+
460+
1. :information_source: this will configure our `aws_lambda_powertools` logger with debug.

mkdocs.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ theme:
5252
- navigation.top
5353
- navigation.instant
5454
- navigation.indexes
55+
- navigation.tracking
56+
- content.code.annotate
5557
icon:
5658
repo: fontawesome/brands/github
5759
logo: media/aws-logo-light.svg
@@ -63,7 +65,6 @@ markdown_extensions:
6365
alternate_style: true
6466
- pymdownx.highlight:
6567
linenums: true
66-
- pymdownx.superfences
6768
- pymdownx.details
6869
- pymdownx.snippets:
6970
base_path: "."
@@ -75,7 +76,7 @@ markdown_extensions:
7576
- attr_list
7677
- pymdownx.emoji
7778
- pymdownx.inlinehilite
78-
- attr_list
79+
- pymdownx.superfences
7980

8081
copyright: Copyright © 2021 Amazon Web Services
8182

0 commit comments

Comments
 (0)