hardcode path to main nav

Config should be shared across docs and main
	-hardcoded urls to avoid /docs/ 404s in main navigation
This commit is contained in:
lauren Vuchetich
2018-05-01 23:12:51 -07:00
committed by GitHub
parent 418ebf78f6
commit 62b9a86143
+22 -27
View File
@@ -19,56 +19,56 @@ pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
[[menu.main]] [[menu.main]]
name = "Overview" name = "Overview"
url = "/what-is-rancher/overview/" url = "https://rancher.com/what-is-rancher/overview/"
parent = "what-is-rancher" parent = "what-is-rancher"
weight = "1" weight = "1"
[[menu.main]] [[menu.main]]
name = "What Rancher Adds to Kubernetes" name = "What Rancher Adds to Kubernetes"
url = "/what-is-rancher/what-rancher-adds-to-kubernetes/" url = "https://rancher.com/what-is-rancher/what-rancher-adds-to-kubernetes/"
parent = "what-is-rancher" parent = "what-is-rancher"
weight = "2" weight = "2"
[[menu.main]] [[menu.main]]
name = "How is Rancher Different" name = "How is Rancher Different"
url = "/what-is-rancher/how-is-rancher-different/" url = "https://rancher.com/what-is-rancher/how-is-rancher-different/"
parent = "what-is-rancher" parent = "what-is-rancher"
weight = "3" weight = "3"
[[menu.main]] [[menu.main]]
name = "Run Kubernetes Anywhere" name = "Run Kubernetes Anywhere"
url = "/kubernetes/" url = "https://rancher.com/kubernetes/"
parent = "what-is-rancher" parent = "what-is-rancher"
weight = "4" weight = "4"
[[menu.main]] [[menu.main]]
# name = "Cluster Operation" # name = "Cluster Operation"
# url = "/what-is-rancher/cluster-operation/" # url = "https://rancher.com/what-is-rancher/cluster-operation/"
# parent = "what-is-rancher" # parent = "what-is-rancher"
# weight = "5" # weight = "5"
[[menu.main]] [[menu.main]]
# name = "Hybrid cloud & multi-cloud" # name = "Hybrid cloud & multi-cloud"
# url = "/what-is-rancher/hybrid-cloud-and-multi-cloud/" # url = "https://rancher.com/what-is-rancher/hybrid-cloud-and-multi-cloud/"
# parent = "what-is-rancher" # parent = "what-is-rancher"
# weight = "6" # weight = "6"
[[menu.main]] [[menu.main]]
# name = "Security & compliance" # name = "Security & compliance"
# url = "/what-is-rancher/security-and-compliance/" # url = "https://rancher.com/what-is-rancher/security-and-compliance/"
# parent = "what-is-rancher" # parent = "what-is-rancher"
# weight = "7" # weight = "7"
[[menu.main]] [[menu.main]]
# name = "Workload Management" # name = "Workload Management"
# url = "/what-is-rancher/workload-management/" # url = "https://rancher.com/what-is-rancher/workload-management/"
# parent = "what-is-rancher" # parent = "what-is-rancher"
# weight = "8" # weight = "8"
[[menu.main]] [[menu.main]]
# name = "100% Open Source" # name = "100% Open Source"
# url = "/what-is-rancher/open-souce/" # url = "https://rancher.com/what-is-rancher/open-souce/"
# parent = "what-is-rancher" # parent = "what-is-rancher"
# weight = "9" # weight = "9"
@@ -81,19 +81,19 @@ pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
[[menu.main]] [[menu.main]]
name = "Rancher" name = "Rancher"
url = "/what-is-rancher/overview/" url = "https://rancher.com/what-is-rancher/overview/"
parent = "products" parent = "products"
[[menu.main]] [[menu.main]]
name = "RancherOS" name = "RancherOS"
url = "/rancher-os/" url = "https://rancher.com/rancher-os/"
parent = "products" parent = "products"
[[menu.main]] [[menu.main]]
#identifier = "customers" #identifier = "customers"
#name = "Customers" #name = "Customers"
#url = "/customers/" #url = "https://rancher.com/customers/"
#weight = "3" #weight = "3"
[[menu.main]] [[menu.main]]
@@ -104,7 +104,7 @@ pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
[[menu.main]] [[menu.main]]
name = "Blog" name = "Blog"
url = "/blog/" url = "https://rancher.com/blog/"
parent = "learn" parent = "learn"
[[menu.main]] [[menu.main]]
@@ -112,15 +112,10 @@ pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
url = "http://rancher.com/docs/rancher/v2.0/en/" url = "http://rancher.com/docs/rancher/v2.0/en/"
parent = "learn" parent = "learn"
[[menu.main]]
name = "RancherOS Docs"
url = "http://rancher.com/docs/os/v1.2/en/"
parent = "learn"
[[menu.main]] [[menu.main]]
name = "Trainings" name = "Trainings"
#url = "/categories/training/" #url = "https://rancher.com/categories/training/"
url = "/training/" url = "https://rancher.com/training/"
parent = "learn" parent = "learn"
[[menu.main]] [[menu.main]]
@@ -131,7 +126,7 @@ pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
[[menu.main]] [[menu.main]]
#name = "Learning Resources" #name = "Learning Resources"
#url = "/learning-resources/" #url = "https://rancher.com/learning-resources/"
#parent = "learn" #parent = "learn"
@@ -139,33 +134,33 @@ pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
[[menu.main]] [[menu.main]]
identifier = "about" identifier = "about"
name = "About" name = "About"
url = "/about/" url = "https://rancher.com/about/"
weight = "5" weight = "5"
pre = "<i class=\"material-icons\">keyboard_arrow_down</i>" pre = "<i class=\"material-icons\">keyboard_arrow_down</i>"
[[menu.main]] [[menu.main]]
name = "About Us" name = "About Us"
url = "/about/" url = "https://rancher.com/about/"
parent = "about" parent = "about"
[[menu.main]] [[menu.main]]
name = "Careers" name = "Careers"
url = "/careers/" url = "https://rancher.com/careers/"
parent = "about" parent = "about"
[[menu.main]] [[menu.main]]
name = "Contact Us" name = "Contact Us"
url = "/contact/" url = "https://rancher.com/contact/"
parent = "about" parent = "about"
[[menu.main]] [[menu.main]]
name = "Events" name = "Events"
url = "/events/" url = "https://rancher.com/events/"
parent = "about" parent = "about"
[[menu.main]] [[menu.main]]
name = "Partners" name = "Partners"
url = "/partners/" url = "https://rancher.com/partners/"
parent = "about" parent = "about"