Skip to content

Commit

Permalink
Add deprecation banner to old docs
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
pedro-psb authored and git-hyagi committed Apr 24, 2024
1 parent 45fb404 commit ec752c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
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 @@ -10,6 +10,7 @@ theme:
- search.highlight
- search.share
name: material
custom_dir: "docs/overrides"
logo: images/pulp_logo_big.png
palette:
- scheme: default
Expand Down

0 comments on commit ec752c0

Please sign in to comment.