Skip to content

Commit

Permalink
PSMDB-1551 Added EOL label to 5.0 docs (#941)
Browse files Browse the repository at this point in the history
* PSMDB-1551 Added EOL label to 5.0 docs
* Updated version dropdown

modified:   _resource/overrides/main.html
modified:   docs/css/percona.css
  • Loading branch information
nastena1606 authored Nov 5, 2024
1 parent b6610dc commit 043e580
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Deploy docs
run: |
mike deploy 5.0 -b publish -p
mike retitle 5.0 "5.0" -b publish -p
mike retitle 5.0 "5.0 (EOL)" -b publish -p
# - name: Install Node.js 14.x
# uses: percona-platform/setup-node@v2
Expand Down
4 changes: 3 additions & 1 deletion _resource/overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@

{% endblock %}


{% block outdated %}
<div>This documentation is for the end of life version of Percona Server for MongoDB 5.0 which is no longer supported. <br><strong><a href="https://www.percona.com/blog/mongodb-4-4-eol-with-5-0-not-far-behind/">Learn more about MongoDB 5.0 end of life implications</a>.</strong> See the <strong><a href= {{ '../' ~ base_url }}>current documentation</a></strong>. </div>
{% endblock %}


{% block site_nav %}
Expand Down
4 changes: 4 additions & 0 deletions docs/css/percona.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ ul li p {
color: #2cbea2;
}

.md-banner--warning {
--md-warning-bg-color: #F0B336;
--md-warning-fg-color: black;
}
.md-typeset {
font-size: .7rem;
line-height: 1.5;
Expand Down

0 comments on commit 043e580

Please sign in to comment.