Skip to content

Commit 59beea6

Browse files
committed
docs: add mkdocstrings for api reference
Signed-off-by: heitorlessa <[email protected]>
1 parent f61b02f commit 59beea6

File tree

4 files changed

+93
-2
lines changed

4 files changed

+93
-2
lines changed

docs/api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
::: aws_lambda_powertools.tracing.Tracer

mkdocs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ nav:
88
- Homepage: index.md
99
- Changelog: changelog.md
1010
- Roadmap: https://github.com/awslabs/aws-lambda-powertools-roadmap/projects/1" target="_blank
11-
- API reference: api/" target="_blank
11+
- API reference: api.md
1212
- Core utilities:
1313
- core/tracer.md
1414
- core/logger.md
@@ -26,6 +26,7 @@ nav:
2626
- utilities/parser.md
2727
- utilities/idempotency.md
2828

29+
2930
theme:
3031
name: material
3132
palette:
@@ -73,6 +74,9 @@ copyright: Copyright &copy; 2021 Amazon Web Services
7374
plugins:
7475
- git-revision-date
7576
- search
77+
- mkdocstrings:
78+
watch:
79+
- aws_lambda_powertools
7680

7781
extra_css:
7882
- stylesheets/extra.css

poetry.lock

Lines changed: 86 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ flake8-bugbear = "^21.3.2"
5252
mkdocs-material = "^7.1.9"
5353
mkdocs-git-revision-date-plugin = "^0.3.1"
5454
mike = "^0.6.0"
55+
mkdocstrings = "^0.15.2"
5556

5657

5758
[tool.poetry.extras]

0 commit comments

Comments
 (0)