Skip to content

Commit c50cff7

Browse files
committed
Indicate 4.4 is latest (not outdated)
Also used new mike alias: true setting to simplify publication
1 parent 76eaa71 commit c50cff7

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/docs.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ jobs:
3333
if: ${{ github.event_name == 'pull_request' }}
3434
working-directory: docs/manual
3535
run: |
36-
mike deploy --title "4.4 Latest" --alias-type=copy --update-aliases 4.4 latest
36+
mike deploy --title "4.4" --alias-type=copy --update-aliases 4.4 latest
3737
- name: deploy latest docs to gh-pages branch
3838
if: ${{ github.event_name != 'pull_request' }}
3939
working-directory: docs/manual
4040
run: |
41-
mike deploy --push --title "4.4 Latest" --alias-type=copy --update-aliases 4.4 latest
41+
mike deploy --push --title "4.4" --alias-type=copy --update-aliases 4.4 latest

docs/manual/mkdocs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ extra:
8484
version:
8585
provider: mike
8686
default: stable
87+
alias: true
8788
homepage: https://geonetwork-opensource.org/
8889
social:
8990
- icon: fontawesome/brands/github

docs/manual/overrides/main.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% extends "base.html" %}
22

33
{% block outdated %}
4-
GeoNetwork 4.4 is outdated.
4+
GeoNetwork 4.4 is latest.
55
<a href="{{ '../' ~ base_url }}"><strong>Click here to go to stable.</strong></a>
66
{% endblock %}

0 commit comments

Comments
 (0)