Skip to content

Commit d369f5e

Browse files
committed
feat(docs): enable docs versioning
1 parent 4211796 commit d369f5e

File tree

3 files changed

+91
-5
lines changed

3 files changed

+91
-5
lines changed

mkdocs.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
site_name: Lambda Powertools Python
22
site_description: AWS Lambda Powertools for Python
33
site_author: Amazon Web Services
4+
repo_url: https://github.com/awslabs/aws-lambda-powertools-python
5+
edit_uri: edit/develop/docs
6+
47
nav:
58
- Homepage: index.md
69
- Changelog: changelog.md
7-
- API reference: https://awslabs.github.io/aws-lambda-powertools-python/api/" target="_blank
10+
- API reference: api/" target="_blank
811
- Core utilities:
912
- core/tracer.md
1013
- core/logger.md
@@ -61,6 +64,6 @@ extra_javascript:
6164
- javascript/aws-amplify.min.js
6265
- javascript/extra.js
6366

64-
65-
repo_url: https://github.com/awslabs/aws-lambda-powertools-python
66-
edit_uri: edit/develop/docs
67+
extras:
68+
version:
69+
provider: mike

poetry.lock

Lines changed: 83 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-eradicate = "^1.0.0"
5252
flake8-bugbear = "^21.3.2"
5353
mkdocs-material = "^7.0.6"
5454
mkdocs-git-revision-date-plugin = "^0.3.1"
55+
mike = "^0.6.0"
5556

5657

5758
[tool.poetry.extras]

0 commit comments

Comments
 (0)