Skip to content

Commit

Permalink
Sort the docs items by their recency
Browse files Browse the repository at this point in the history
More recently released versions are at the top.
The value of `weight` is: minus-sign followed by the version without
dots, e.g. 1.12.0 => -1120
The special version `++version++` (meaning "in development") is always
at the top, with weight=-9999

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
  • Loading branch information
martin-g committed Aug 26, 2024
1 parent 221057d commit a37b1a6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/content/en/docs/++version++/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
title: "Apache Avro™ ++version++ Documentation"
linkTitle: "++version++"
type: docs
weight: 10
aliases:
- /docs/current/
- /docs/current/
weight: -9999
---

<!--
Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/1.11.1/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Apache Avro™ 1.11.1 Documentation"
linkTitle: "1.11.1"
type: docs
weight: 10
weight: -1111
---

<!--
Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/1.11.2/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Apache Avro™ 1.11.2 Documentation"
linkTitle: "1.11.2"
type: docs
weight: 10
weight: -1112
---

<!--
Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/1.11.3/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Apache Avro™ 1.11.3 Documentation"
linkTitle: "1.11.3"
type: docs
weight: 10
weight: -1113
---

<!--
Expand Down
2 changes: 1 addition & 1 deletion doc/content/en/docs/1.12.0/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: "Apache Avro™ 1.12.0 Documentation"
linkTitle: "1.12.0"
type: docs
weight: 10
weight: -1120
---

<!--
Expand Down

0 comments on commit a37b1a6

Please sign in to comment.