summaryrefslogtreecommitdiffhomepage
path: root/g3doc/user_guide
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-08-04 01:05:42 -0700
committergVisor bot <gvisor-bot@google.com>2020-08-04 01:07:42 -0700
commita02b7534f21d4f963ace890e80d7bf17e0d5d10f (patch)
tree26a5d8a6aa4854f41523a098b8f979e4619bfd57 /g3doc/user_guide
parent25798f214c6d1991916906ea8fca9e7029a8c423 (diff)
Fix grouping and ordering of website menus
Groups subcategories and sorts their pages by weight properly. Subcategories are sorted by name. Pages within subcategories are sorted by weight. PiperOrigin-RevId: 324766128
Diffstat (limited to 'g3doc/user_guide')
-rw-r--r--g3doc/user_guide/tutorials/BUILD22
1 files changed, 11 insertions, 11 deletions
diff --git a/g3doc/user_guide/tutorials/BUILD b/g3doc/user_guide/tutorials/BUILD
index caae98623..405026a33 100644
--- a/g3doc/user_guide/tutorials/BUILD
+++ b/g3doc/user_guide/tutorials/BUILD
@@ -11,16 +11,7 @@ doc(
category = "User Guide",
permalink = "/docs/tutorials/docker/",
subcategory = "Tutorials",
- weight = "21",
-)
-
-doc(
- name = "cni",
- src = "cni.md",
- category = "User Guide",
- permalink = "/docs/tutorials/cni/",
- subcategory = "Tutorials",
- weight = "22",
+ weight = "10",
)
doc(
@@ -33,5 +24,14 @@ doc(
],
permalink = "/docs/tutorials/kubernetes/",
subcategory = "Tutorials",
- weight = "33",
+ weight = "20",
+)
+
+doc(
+ name = "cni",
+ src = "cni.md",
+ category = "User Guide",
+ permalink = "/docs/tutorials/cni/",
+ subcategory = "Tutorials",
+ weight = "30",
)