diff --git a/doc/_templates/layout.html b/doc/_templates/layout.html index 90fdceb9e6..4ddf583196 100644 --- a/doc/_templates/layout.html +++ b/doc/_templates/layout.html @@ -8,3 +8,20 @@ {{ super() }} {% endblock %} + +{# Deprecation banner. Overriding the "document" block places this note at the #} +{# top of the main content area of EVERY page -- including theme-generated pages #} +{# with no .rst source (genindex, py-modindex, search) that rst_prolog cannot #} +{# reach. The markup mirrors a Sphinx ".. note::" admonition so it picks up the #} +{# exact same sphinx_rtd_theme styling as the original landing-page note. #} +{% block document %} +
Note
+Version 2.x of the SageMaker Python SDK is on a deprecation path. + For the latest features and continued support, see the SageMaker Python SDK + V3 documentation. + For version lifecycle, see + this page.
+