Skip to content

Commit

Permalink
update/organize sidebar (#4475)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored and danawillow committed Sep 17, 2019
1 parent d8f76bd commit 146690a
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 30 deletions.
18 changes: 9 additions & 9 deletions google/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ func Provider() terraform.ResourceProvider {
DataSourcesMap: map[string]*schema.Resource{
"google_active_folder": dataSourceGoogleActiveFolder(),
"google_billing_account": dataSourceGoogleBillingAccount(),
"google_dns_managed_zone": dataSourceDnsManagedZone(),
"google_client_config": dataSourceGoogleClientConfig(),
"google_client_openid_userinfo": dataSourceGoogleClientOpenIDUserinfo(),
"google_cloudfunctions_function": dataSourceGoogleCloudFunctionsFunction(),
Expand All @@ -361,32 +360,33 @@ func Provider() terraform.ResourceProvider {
"google_compute_backend_service": dataSourceGoogleComputeBackendService(),
"google_compute_default_service_account": dataSourceGoogleComputeDefaultServiceAccount(),
"google_compute_forwarding_rule": dataSourceGoogleComputeForwardingRule(),
"google_compute_global_address": dataSourceGoogleComputeGlobalAddress(),
"google_compute_image": dataSourceGoogleComputeImage(),
"google_compute_instance": dataSourceGoogleComputeInstance(),
"google_compute_global_address": dataSourceGoogleComputeGlobalAddress(),
"google_compute_instance_group": dataSourceGoogleComputeInstanceGroup(),
"google_compute_lb_ip_ranges": dataSourceGoogleComputeLbIpRanges(),
"google_compute_network": dataSourceGoogleComputeNetwork(),
"google_compute_network_endpoint_group": dataSourceGoogleComputeNetworkEndpointGroup(),
"google_compute_node_types": dataSourceGoogleComputeNodeTypes(),
"google_compute_regions": dataSourceGoogleComputeRegions(),
"google_compute_region_instance_group": dataSourceGoogleComputeRegionInstanceGroup(),
"google_compute_ssl_certificate": dataSourceGoogleComputeSslCertificate(),
"google_compute_ssl_policy": dataSourceGoogleComputeSslPolicy(),
"google_compute_subnetwork": dataSourceGoogleComputeSubnetwork(),
"google_compute_zones": dataSourceGoogleComputeZones(),
"google_compute_vpn_gateway": dataSourceGoogleComputeVpnGateway(),
"google_compute_ssl_policy": dataSourceGoogleComputeSslPolicy(),
"google_compute_ssl_certificate": dataSourceGoogleComputeSslCertificate(),
"google_compute_zones": dataSourceGoogleComputeZones(),
"google_container_cluster": dataSourceGoogleContainerCluster(),
"google_container_engine_versions": dataSourceGoogleContainerEngineVersions(),
"google_container_registry_repository": dataSourceGoogleContainerRepo(),
"google_container_registry_image": dataSourceGoogleContainerImage(),
"google_container_registry_repository": dataSourceGoogleContainerRepo(),
"google_dns_managed_zone": dataSourceDnsManagedZone(),
"google_iam_policy": dataSourceGoogleIamPolicy(),
"google_iam_role": dataSourceGoogleIamRole(),
"google_kms_secret": dataSourceGoogleKmsSecret(),
"google_kms_secret_ciphertext": dataSourceGoogleKmsSecretCiphertext(),
"google_kms_key_ring": dataSourceGoogleKmsKeyRing(),
"google_kms_crypto_key": dataSourceGoogleKmsCryptoKey(),
"google_kms_crypto_key_version": dataSourceGoogleKmsCryptoKeyVersion(),
"google_kms_key_ring": dataSourceGoogleKmsKeyRing(),
"google_kms_secret": dataSourceGoogleKmsSecret(),
"google_kms_secret_ciphertext": dataSourceGoogleKmsSecretCiphertext(),
"google_folder": dataSourceGoogleFolder(),
"google_folder_organization_policy": dataSourceGoogleFolderOrganizationPolicy(),
"google_netblock_ip_ranges": dataSourceGoogleNetblockIpRanges(),
Expand Down
61 changes: 40 additions & 21 deletions website/google.erb
Original file line number Diff line number Diff line change
Expand Up @@ -81,21 +81,15 @@
<li<%= sidebar_current("docs-google-datasource-compute-network-endpoint-group") %>>
<a href="/docs/providers/google/d/datasource_google_compute_network_endpoint_group.html">google_compute_network_endpoint_group</a>
</li>
<li<%= sidebar_current("docs-google-datasource-compute-region-instance-group") %>>
<a href="/docs/providers/google/d/datasource_compute_region_instance_group.html">google_compute_region_instance_group</a>
</li>
<li<%= sidebar_current("docs-google-datasource-project-organization-policy") %>>
<a href="/docs/providers/google/d/datasource_google_project_organization_policy.html">google_project_organization_policy</a>
</li>
<li<%= sidebar_current("docs-google-datasource-project-services") %>>
<a href="/docs/providers/google/d/google_project_services.html">google_project_services</a>
</li>
<li<%= sidebar_current("docs-google-datasource-compute-node-types") %>>
<a href="/docs/providers/google/d/google_compute_node_types.html">google_compute_node_types</a>
</li>
<li<%= sidebar_current("docs-google-datasource-compute-regions") %>>
<a href="/docs/providers/google/d/google_compute_regions.html">google_compute_regions</a>
</li>
<li<%= sidebar_current("docs-google-datasource-compute-region-instance-group") %>>
<a href="/docs/providers/google/d/datasource_compute_region_instance_group.html">google_compute_region_instance_group</a>
</li>
<li<%= sidebar_current("docs-google-datasource-compute-ssl-certificate") %>>
<a href="/docs/providers/google/d/datasource_compute_ssl_certificate.html">google_compute_ssl_certificate</a>
</li>
Expand Down Expand Up @@ -126,33 +120,33 @@
<li<%= sidebar_current("docs-google-datasource-dns-managed-zone") %>>
<a href="/docs/providers/google/d/dns_managed_zone.html">google_dns_managed_zone</a>
</li>
<li<%= sidebar_current("docs-google-datasource-folder") %>>
<a href="/docs/providers/google/d/google_folder.html">google_folder</a>
</li>
<li<%= sidebar_current("docs-google-datasource-folder-organization-policy") %>>
<a href="/docs/providers/google/d/datasource_google_folder_organization_policy.html">google_folder_organization_policy</a>
</li>
<li<%= sidebar_current("docs-google-datasource-iam-policy") %>>
<a href="/docs/providers/google/d/google_iam_policy.html">google_iam_policy</a>
</li>
<li<%= sidebar_current("docs-google-datasource-iam-role") %>>
<a href="/docs/providers/google/d/datasource_google_iam_role.html">google_iam_role</a>
</li>
<li<%= sidebar_current("docs-google-datasource-kms-key-ring") %>>
<a href="/docs/providers/google/d/google_kms_key_ring.html">google_kms_key_ring</a>
</li>
<li<%= sidebar_current("docs-google-datasource-kms-crypto-key") %>>
<a href="/docs/providers/google/d/google_kms_crypto_key.html">google_kms_crypto_key</a>
</li>
<li<%= sidebar_current("docs-google-datasource-kms-crypto-key-version") %>>
<a href="/docs/providers/google/d/google_kms_crypto_key_version.html">google_kms_crypto_key_version</a>
</li>
<li<%= sidebar_current("docs-google-datasource-kms-key-ring") %>>
<a href="/docs/providers/google/d/google_kms_key_ring.html">google_kms_key_ring</a>
</li>
<li<%= sidebar_current("docs-google-kms-secret") %>>
<a href="/docs/providers/google/d/google_kms_secret.html">google_kms_secret</a>
</li>
<li<%= sidebar_current("docs-google-kms-secret-ciphertext") %>>
<a href="/docs/providers/google/d/google_kms_secret_ciphertext.html">google_kms_secret_ciphertext</a>
</li>
<li<%= sidebar_current("docs-google-datasource-folder") %>>
<a href="/docs/providers/google/d/google_folder.html">google_folder</a>
</li>
<li<%= sidebar_current("docs-google-datasource-folder-organization-policy") %>>
<a href="/docs/providers/google/d/datasource_google_folder_organization_policy.html">google_folder_organization_policy</a>
</li>
<li<%= sidebar_current("docs-google-datasource-netblock-ip-ranges") %>>
<a href="/docs/providers/google/d/datasource_google_netblock_ip_ranges.html">google_netblock_ip_ranges</a>
</li>
Expand All @@ -165,6 +159,12 @@
<li<%= sidebar_current("docs-google-datasource-projects") %>>
<a href="/docs/providers/google/d/google_projects.html">google_projects</a>
</li>
<li<%= sidebar_current("docs-google-datasource-project-organization-policy") %>>
<a href="/docs/providers/google/d/datasource_google_project_organization_policy.html">google_project_organization_policy</a>
</li>
<li<%= sidebar_current("docs-google-datasource-project-services") %>>
<a href="/docs/providers/google/d/google_project_services.html">google_project_services</a>
</li>
<li<%= sidebar_current("docs-google-datasource-service-account") %>>
<a href="/docs/providers/google/d/datasource_google_service_account.html">google_service_account</a>
</li>
Expand All @@ -174,12 +174,12 @@
<li<%= sidebar_current("docs-google-datasource-service-account-key") %>>
<a href="/docs/providers/google/d/datasource_google_service_account_key.html">google_service_account_key</a>
</li>
<li<%= sidebar_current("docs-google-datasource-signed_url") %>>
<a href="/docs/providers/google/d/signed_url.html">google_storage_object_signed_url</a>
</li>
<li<%= sidebar_current("docs-google-datasource-storage-bucket-object") %>>
<a href="/docs/providers/google/d/storage_bucket_object.html">google_storage_bucket_object</a>
</li>
<li<%= sidebar_current("docs-google-datasource-signed_url") %>>
<a href="/docs/providers/google/d/signed_url.html">google_storage_object_signed_url</a>
</li>
<li<%= sidebar_current("docs-google-datasource-storage-project-service-account") %>>
<a href="/docs/providers/google/d/google_storage_project_service_account.html">google_storage_project_service_account</a>
</li>
Expand Down Expand Up @@ -230,8 +230,13 @@
<li<%= sidebar_current("docs-google-bigtable") %>>
<a href="#">Google Bigtable Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-google-bigtable-app-profile") %>>
<a href="/docs/providers/google/r/bigtable_app_profile.html">google_bigtable_app_profile</a>
</li>

<li<%= sidebar_current("docs-google-bigtable-instance") %>>
<a href="/docs/providers/google/r/bigtable_instance.html">google_bigtable_instance</a>
</li>

<li<%= sidebar_current("docs-google-bigtable-instance-iam") %>>
<a href="/docs/providers/google/r/bigtable_instance_iam.html">google_bigtable_instance_iam_binding</a>
Expand All @@ -244,6 +249,7 @@
<li<%= sidebar_current("docs-google-bigtable-instance-iam") %>>
<a href="/docs/providers/google/r/bigtable_instance_iam.html">google_bigtable_instance_iam_policy</a>
</li>

<li<%= sidebar_current("docs-google-bigtable-table") %>>
<a href="/docs/providers/google/r/bigtable_table.html">google_bigtable_table</a>
</li>
Expand Down Expand Up @@ -1059,6 +1065,10 @@
<a href="/docs/providers/google/r/storage_bucket_iam.html">google_storage_bucket_iam_member</a>
</li>

<li<%= sidebar_current("docs-google-storage-bucket-iam") %>>
<a href="/docs/providers/google/r/storage_bucket_iam.html">google_storage_bucket_iam_policy</a>
</li>

<li<%= sidebar_current("docs-google-storage-bucket-object") %>>
<a href="/docs/providers/google/r/storage_bucket_object.html">google_storage_bucket_object</a>
</li>
Expand Down Expand Up @@ -1094,6 +1104,15 @@
</ul>
</li>

<li<%= sidebar_current("docs-google-vpc") %>>
<a href="#">Google Serverless VPC Access Resources</a>
<ul class="nav nav-visible">
<li<%= sidebar_current("docs-google-vpc-access-connector") %>>
<a href="/docs/providers/google/r/vpc_access_connector.html">google_vpc_access_connector</a>
</li>
</ul>
</li>

</ul>
</div>
<% end %>
Expand Down

0 comments on commit 146690a

Please sign in to comment.