Skip to content

Commit

Permalink
Add legacy docs deprecation warning on every page
Browse files Browse the repository at this point in the history
The old docs should be deactivated on July 2024.

[noissue]
  • Loading branch information
pedro-psb authored and dkliban committed May 6, 2024
1 parent 59a6718 commit 63d3740
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions templates/docs/docs/conf.py.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://discourse.pulpproject.org/t/unified-documentation-part-2/1188>`_
or go to the `New Pulp Docs <https://staging-docs.pulpproject.org/>`_ (beta).
"""

0 comments on commit 63d3740

Please sign in to comment.