mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-01 08:34:50 +02:00
docs: Change edge
version links to latest
+ fix links intended as relative not absolute (#3190)
* docs: change some absolute links to relative links * docs: change most hard-coded links to `edge` to point to `latest` * Apply suggestions from code review * docs: revert 404 page to edge and change canonical link to `latest --------- Co-authored-by: Brennan Kinney <5098581+polarathene@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
This commit is contained in:
parent
b3249fada7
commit
e12b032f77
11 changed files with 25 additions and 25 deletions
2
.github/workflows/docs-production-deploy.yml
vendored
2
.github/workflows/docs-production-deploy.yml
vendored
|
@ -55,7 +55,7 @@ jobs:
|
|||
# Replace the tagged '${DOCS_VERSION}' in the 'canonical' link element of HTML files,
|
||||
# to point to the 'edge' version of docs as the authoritative source:
|
||||
find . -type f -name "*.html" -exec \
|
||||
sed -i "s|^\(.*<link rel=\"canonical\".*\)${DOCS_VERSION}|\1edge|" \
|
||||
sed -i "s|^\(.*<link rel=\"canonical\".*\)${DOCS_VERSION}|\1latest|" \
|
||||
{} +
|
||||
|
||||
- name: 'Deploy to Github Pages'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue