From 4fce9a4a241f5dc6889371114e5dc4ecd6ca26ab Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Mon, 12 Apr 2021 18:08:03 -0400 Subject: [PATCH] Adjust titles, weights and landing pages for docs (master) --- content/blog/_index.md | 1 + content/docs/_index.md | 7 +++++-- content/docs/next/_index.md | 6 ++++-- content/docs/v2.3/_index.md | 7 +++++-- content/docs/v3.1/_index.md | 7 +++++-- content/docs/v3.2/_index.md | 7 +++++-- content/docs/v3.3/_index.md | 7 +++++-- content/docs/v3.4/_index.md | 7 +++++-- 8 files changed, 35 insertions(+), 14 deletions(-) diff --git a/content/blog/_index.md b/content/blog/_index.md index 7f33982b..7a764515 100644 --- a/content/blog/_index.md +++ b/content/blog/_index.md @@ -1,4 +1,5 @@ --- title: The etcd blog +linkTitle: Blog description: News, updates, release announcements, and more --- diff --git a/content/docs/_index.md b/content/docs/_index.md index ebc3fd17..0eef52e6 100644 --- a/content/docs/_index.md +++ b/content/docs/_index.md @@ -1,7 +1,10 @@ --- -title: The etcd documentation +title: Documentation versions +linkTitle: Versions +simple_list: true +# TODO(chalin): disable breadcrumbs for this page --- -Welcome to the docs for etcd! The following versions are available: +Welcome to the docs for etcd! The following doc versions are available: {{< versions >}} diff --git a/content/docs/next/_index.md b/content/docs/next/_index.md index ff4e0373..6a92a1fe 100644 --- a/content/docs/next/_index.md +++ b/content/docs/next/_index.md @@ -1,8 +1,10 @@ --- -title: etcd next version -weight: 1000 +title: Next docs cascade: version: next +linkTitle: next +# Weight for doc version vX.Y should be -XY0. For example, v3.4 has weight -340. +weight: -1000 --- These docs cover everything from setting up and running an etcd cluster to using etcd in applications for the _upcoming_ [etcd version](https://github.com/etcd-io/etcd/). diff --git a/content/docs/v2.3/_index.md b/content/docs/v2.3/_index.md index 41d53079..1c74ece2 100644 --- a/content/docs/v2.3/_index.md +++ b/content/docs/v2.3/_index.md @@ -1,7 +1,10 @@ --- -title: etcd version 2.3 +title: v2.3 docs cascade: - version: v2.3 + version: &vers v2.3 +linkTitle: *vers +simple_list: true +weight: -230 --- These docs cover everything from setting up and running an etcd cluster to using etcd in your applications. Improvements to these docs are encouraged through [pull requests](https://help.github.com/en/articles/about-pull-requests) to the [etcd project](https://github.com/etcd-io/etcd) on GitHub. diff --git a/content/docs/v3.1/_index.md b/content/docs/v3.1/_index.md index 7b73f92d..f0d4109c 100644 --- a/content/docs/v3.1/_index.md +++ b/content/docs/v3.1/_index.md @@ -1,7 +1,10 @@ --- -title: etcd version 3.1 +title: v3.1 docs cascade: - version: v3.1 + version: &vers v3.1 +linkTitle: *vers +simple_list: true +weight: -310 --- These docs cover everything from setting up and running an etcd cluster to using etcd in your applications. Improvements to these docs are encouraged through [pull requests](https://help.github.com/en/articles/about-pull-requests) to the [etcd project](https://github.com/etcd-io/etcd) on GitHub. diff --git a/content/docs/v3.2/_index.md b/content/docs/v3.2/_index.md index 971167cd..c733d049 100644 --- a/content/docs/v3.2/_index.md +++ b/content/docs/v3.2/_index.md @@ -1,7 +1,10 @@ --- -title: etcd version 3.2 +title: v3.2 docs cascade: - version: v3.2 + version: &vers v3.2 +linkTitle: *vers +simple_list: true +weight: -320 --- These docs cover everything from setting up and running an etcd cluster to using etcd in your applications. Improvements to these docs are encouraged through [pull requests](https://help.github.com/en/articles/about-pull-requests) to the [etcd project](https://github.com/etcd-io/etcd) on GitHub. diff --git a/content/docs/v3.3/_index.md b/content/docs/v3.3/_index.md index 6dcd806c..13f6aa74 100644 --- a/content/docs/v3.3/_index.md +++ b/content/docs/v3.3/_index.md @@ -1,5 +1,8 @@ --- -title: etcd version 3.3 +title: v3.3 docs cascade: - version: v3.3 + version: &vers v3.3 +linkTitle: *vers +simple_list: true +weight: -330 --- diff --git a/content/docs/v3.4/_index.md b/content/docs/v3.4/_index.md index 1571571a..7efe3bb3 100644 --- a/content/docs/v3.4/_index.md +++ b/content/docs/v3.4/_index.md @@ -1,7 +1,10 @@ --- -title: etcd version 3.4 +title: v3.4 docs cascade: - version: v3.4 + version: &vers v3.4 +linkTitle: *vers +simple_list: true +weight: -340 --- These docs cover everything from setting up and running an etcd cluster to using etcd in applications. Improvements to these docs are encouraged through [pull requests](https://help.github.com/en/articles/about-pull-requests) to the [etcd project](https://github.com/etcd-io/etcd) on GitHub.