Skip to content

Commit

Permalink
r/host: Fix sidebar links (#877)
Browse files Browse the repository at this point in the history
Link to the resource's docs is missing from the index. Unless someone
knows the page exists they are will not be able to access it.
  • Loading branch information
koikonom authored Oct 22, 2019
1 parent ff889ef commit 8315d70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/r/host.html.markdown
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: "vsphere"
page_title: "VMware vSphere: vsphere_host"
sidebar_current: "docs-vsphere-resource-inventory-host"
sidebar_current: "docs-vsphere-resource-compute-host"
description: |-
Provides a VMware vSphere host resource. This represents an ESXi host that can be used either as part of a Compute Cluster or Standalone.
---
Expand Down
3 changes: 3 additions & 0 deletions website/vsphere.erb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
<li<%= sidebar_current("docs-vsphere-resource-compute") %>>
<a href="#">Host and Cluster Management Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-vsphere-resource-compute-host") %>>
<a href="/docs/providers/vsphere/r/host.html">vsphere_host</a>
</li>
<li<%= sidebar_current("docs-vsphere-resource-compute-compute-cluster") %>>
<a href="/docs/providers/vsphere/r/compute_cluster.html">vsphere_compute_cluster</a>
</li>
Expand Down

0 comments on commit 8315d70

Please # to comment.