provider/alicloud: Creating the necessary structure for the alicloud documentation (#11289)

This commit is contained in:
Paul Stack 2017-01-19 14:40:01 +00:00 committed by GitHub
parent 5749217869
commit 128af891ca
3 changed files with 86 additions and 0 deletions

View File

@ -7,6 +7,7 @@ body.page-sub{
} }
body.layout-commands-state, body.layout-commands-state,
body.layout-alicloud,
body.layout-archive, body.layout-archive,
body.layout-atlas, body.layout-atlas,
body.layout-aws, body.layout-aws,

View File

@ -0,0 +1,80 @@
<% wrap_layout :inner do %>
<% content_for :sidebar do %>
<div class="docs-sidebar hidden-print affix-top" role="complementary">
<ul class="nav docs-sidenav">
<li<%= sidebar_current("docs-home") %>>
<a href="/docs/providers/index.html">&laquo; Documentation Home</a>
</li>
<li<%= sidebar_current("docs-alicloud-index") %>>
<a href="/docs/providers/alicloud/index.html">Alicloud Provider</a>
</li>
<li<%= sidebar_current(/^docs-alicloud-datasource/) %>>
<a href="#">Data Sources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-alicloud-datasource-images") %>>
<a href="/docs/providers/alicloud/d/images.html">alicloud_images</a>
</li>
<li<%= sidebar_current("docs-alicloud-datasource-instance-types") %>>
<a href="/docs/providers/alicloud/d/instance_types.html">alicloud_instance_types</a>
</li>
<li<%= sidebar_current("docs-alicloud-datasource-regions") %>>
<a href="/docs/providers/alicloud/d/regions.html">alicloud_regions</a>
</li>
<li<%= sidebar_current("docs-alicloud-datasource-zones") %>>
<a href="/docs/providers/alicloud/d/zones.html">alicloud_zones</a>
</li>
</ul>
</li>
<li<%= sidebar_current(/^docs-alicloud-resource/) %>>
<a href="#">Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-alicloud-resource-disk") %>>
<a href="/docs/providers/alicloud/r/disk.html">alicloud_disk</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-disk-attachment") %>>
<a href="/docs/providers/alicloud/r/disk_attachment.html">alicloud_disk_attachment</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-eip") %>>
<a href="/docs/providers/alicloud/r/eip.html">alicloud_eip</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-eip-association") %>>
<a href="/docs/providers/alicloud/r/eip_association.html">alicloud_eip_association</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-instance") %>>
<a href="/docs/providers/alicloud/r/instance.html">alicloud_instance</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-nat-gateway") %>>
<a href="/docs/providers/alicloud/r/nat_gateway.html">alicloud_nat_gateway</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-security-group") %>>
<a href="/docs/providers/alicloud/r/security_group.html">alicloud_security_group</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-security-group-rule") %>>
<a href="/docs/providers/alicloud/r/security_group_rule.html">alicloud_security_group_rule</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-slb") %>>
<a href="/docs/providers/alicloud/r/slb.html">alicloud_slb</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-slb-attachment") %>>
<a href="/docs/providers/alicloud/r/slb_attachment.html">alicloud_slb_attachment</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-vpc") %>>
<a href="/docs/providers/alicloud/r/vpc.html">alicloud_vpc</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-route-entry") %>>
<a href="/docs/providers/alicloud/r/vroute_entry.html">alicloud_vroute_entry</a>
</li>
<li<%= sidebar_current("docs-alicloud-resource-vswitch") %>>
<a href="/docs/providers/alicloud/r/vswitch.html">alicloud_vswitch</a>
</li>
</ul>
</li>
</ul>
</div>
<% end %>
<%= yield %>
<% end %>

View File

@ -174,6 +174,11 @@
<li<%= sidebar_current(/^docs-providers/) %>> <li<%= sidebar_current(/^docs-providers/) %>>
<a href="/docs/providers/index.html">Providers</a> <a href="/docs/providers/index.html">Providers</a>
<ul class="nav"> <ul class="nav">
<li<%= sidebar_current("docs-providers-alicloud") %>>
<a href="/docs/providers/alicloud/index.html">Alicloud</a>
</li>
<li<%= sidebar_current("docs-providers-archive") %>> <li<%= sidebar_current("docs-providers-archive") %>>
<a href="/docs/providers/archive/index.html">Archive</a> <a href="/docs/providers/archive/index.html">Archive</a>
</li> </li>