Skip to content

Commit 4f75045

Browse files
committed
docs(homepage): note about v2 version
1 parent 1696228 commit 4f75045

File tree

2 files changed

+38
-0
lines changed

2 files changed

+38
-0
lines changed

.github/workflows/v2_on_push_docs.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Docs v2
2+
3+
on:
4+
push:
5+
branches:
6+
- v2
7+
paths:
8+
- "docs/**"
9+
- "mkdocs.yml"
10+
- "examples/**"
11+
12+
jobs:
13+
changelog:
14+
permissions:
15+
contents: write
16+
uses: ./.github/workflows/reusable_publish_changelog.yml
17+
18+
release-docs:
19+
needs: changelog
20+
permissions:
21+
contents: write
22+
pages: write
23+
uses: ./.github/workflows/reusable_publish_docs.yml
24+
with:
25+
version: v2
26+
alias: alpha
27+
# Maintenance: Only necessary in repo migration
28+
# - name: Create redirect from old docs
29+
# run: |
30+
# git checkout gh-pages
31+
# test -f 404.html && echo "Redirect already set" && exit 0
32+
# git checkout develop -- 404.html
33+
# git add 404.html
34+
# git commit -m "chore: set docs redirect" --no-verify
35+
# git push origin gh-pages -f

docs/index.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: AWS Lambda Powertools for Python
55

66
<!-- markdownlint-disable MD043 -->
77

8+
???+ danger
9+
This documentation is for v2 that is not yet released.
10+
811
A suite of utilities for AWS Lambda functions to ease adopting best practices such as tracing, structured logging, custom metrics, idempotency, batching, and more.
912

1013
???+ note

0 commit comments

Comments
 (0)