From a789dfb209f7fe0b837f70ca5239c041e4789558 Mon Sep 17 00:00:00 2001 From: Pedro Brochado Date: Tue, 23 Apr 2024 14:41:06 -0300 Subject: [PATCH] Add legacy docs deprecation warning on every page The old docs should be deactivated on July 2024. [noissue] --- templates/docs/docs/conf.py.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/templates/docs/docs/conf.py.j2 b/templates/docs/docs/conf.py.j2 index 6f994767..6b9f0353 100644 --- a/templates/docs/docs/conf.py.j2 +++ b/templates/docs/docs/conf.py.j2 @@ -317,3 +317,8 @@ class MyPythonDomain(PythonDomain): def setup(sphinx): """Use MyPythonDomain in place of PythonDomain""" sphinx.add_domain(MyPythonDomain, override=True) + +rst_prolog = """.. attention:: + This documentation will be deactivated in the near future. `Learn More `_ + or go to the `New Pulp Docs `_ (beta). +"""