Skip to content

docs: Show V2 deprecation note on every documentation page - #6172

Merged
lucasjia-aws merged 1 commit into
aws:master-v2from
lucasjia-aws:doc/populate-banner
Aug 10, 2026
Merged

docs: Show V2 deprecation note on every documentation page#6172
lucasjia-aws merged 1 commit into
aws:master-v2from
lucasjia-aws:doc/populate-banner

Conversation

@lucasjia-aws

Copy link
Copy Markdown
Collaborator

Move the deprecation note from the landing page (index.rst) into the layout.html theme override so it renders at the top of every page, including theme-generated pages (genindex, py-modindex, search) that have no .rst source. The injected markup mirrors a Sphinx note admonition so styling matches the original landing-page note.

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Move the deprecation note from the landing page (index.rst) into the
layout.html theme override so it renders at the top of every page,
including theme-generated pages (genindex, py-modindex, search) that
have no .rst source. The injected markup mirrors a Sphinx note
admonition so styling matches the original landing-page note.
@lucasjia-aws
lucasjia-aws requested a review from a team as a code owner August 10, 2026 19:35
@lucasjia-aws
lucasjia-aws deployed to auto-approve August 10, 2026 19:43 — with GitHub Actions Active
@lucasjia-aws
lucasjia-aws merged commit 2452b22 into aws:master-v2 Aug 10, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants