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 deprecation banner for old docs #631

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% extends "base.html" %}

{% block announce %}
<p>
<span class="twemoji">
{% include ".icons/octicons/alert-24.svg" %}
</span>
This docs will be deactivated in July 2024.
<a href="https://discourse.pulpproject.org/t/unified-documentation-part-2/1188" target="blank">Learn More</a>
or go to the <a href="https://staging-docs.pulpproject.org/" target="blank">New Pulp Docs</a> (beta).
</p>
{% endblock %}
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ theme:
- search.highlight
- search.share
name: material
custom_dir: "docs/overrides"
logo: images/pulp_logo_big.png
palette:
- scheme: default
Expand Down
Loading