Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add legacy docs deprecation warning on every page #860

Merged
merged 1 commit into from
May 6, 2024

Conversation

pedro-psb
Copy link
Member

The old docs should be deactivated on July 2024, as shown here.

This should be added manually for plugin which doesn't use plugin_template docs updates.

Preview

It looks like this (on every page):

image

[noissue]

@@ -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 docs will be deactivated in July 2024. `Learn More <https://discourse.pulpproject.org/t/unified-documentation-part-2/1188>`_
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's just say "This documentation will be deactivated in the near future." so we don't have to do anything on a specific date.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep. Never write docs that plan to be outdated.

The old docs should be deactivated on July 2024.

[noissue]
@dkliban dkliban merged commit 63d3740 into pulp:main May 6, 2024
17 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.

3 participants