Merge pull request #6409 from mateusoliveira43/fix/doc-lastest-release-link

Fix: Lastest release link in website
This commit is contained in:
Xun Jiang/Bruce Jiang
2023-06-27 10:05:19 +08:00
committed by GitHub
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -344,7 +344,7 @@ serve-docs: build-image-hugo
-v "$$(pwd)/site:/srv/hugo" \
-it -p 1313:1313 \
$(HUGO_IMAGE) \
hugo server --bind=0.0.0.0 --enableGitInfo=false
server --bind=0.0.0.0 --enableGitInfo=false
# gen-docs generates a new versioned docs directory under site/content/docs.
# Please read the documentation in the script for instructions on how to use it.
gen-docs:
+1 -5
View File
@@ -1,9 +1,5 @@
FROM ubuntu:20.04
RUN apt update
RUN apt install -y hugo
FROM klakegg/hugo:0.73.0-ext-ubuntu
WORKDIR /srv/hugo
EXPOSE 1313
+1 -1
View File
@@ -10,7 +10,7 @@ hero:
content: Velero is an open source tool to safely backup and restore, perform disaster recovery, and migrate Kubernetes cluster resources and persistent volumes.
cta_link1:
text: Latest Release Information
url: /blog/velero-1.6-bring-all-your-credentials/
url: /blog/Velero-1.11/
cta_link2:
text: Download Velero
url: https://github.com/vmware-tanzu/velero/releases/latest
@@ -159,7 +159,7 @@ What to include in a release blog:
Release blog post PR:
* Prepare a PR containing the release blog post. Read the [website guidelines][2] for more information on creating a blog post. It's usually easiest to make a copy of the most recent existing post, then replace the content as appropriate.
* You also need to update `site/index.html` to have "Latest Release Information" contain a link to the new post.
* You also need to update `site/content/_index.md` to have "Latest Release Information" contain a link to the new post.
* Plan to publish the blog post the same day as the release.
## Announce a release