Skip to content

Commit

Permalink
Add override for docs sections - apply to compute and monitoring. (#5257
Browse files Browse the repository at this point in the history
) (#3686)

* Add override for docs sections - apply to compute and monitoring.

* These compute resources are actually handwritten, and the monitoring has no GA.

Signed-off-by: Modular Magician <magic-modules@google.com>
  • Loading branch information
modular-magician authored Sep 30, 2021
1 parent 633897c commit d7ddbe2
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 45 deletions.
3 changes: 3 additions & 0 deletions .changelog/5257.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:note
Minor docs reorganization to group all Compute Engine and Monitoring (Stackdriver) resources together.
```
2 changes: 1 addition & 1 deletion google-beta/resource_gke_hub_feature_membership_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"testing"

"github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
dcl "github.com/GoogleCloudPlatform/declarative-resource-client-library/dcl"
gkehub "github.com/GoogleCloudPlatform/declarative-resource-client-library/services/google/gkehub/beta"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_firewall_policy.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# are required, please file an issue at https:#github.com/hashicorp/terraform-provider-google/issues/new/choose
#
# ----------------------------------------------------------------------------
subcategory: "Compute"
subcategory: "Compute Engine"
layout: "google"
page_title: "Google: google_compute_firewall_policy"
sidebar_current: "docs-google-compute-firewall-policy"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# are required, please file an issue at https:#github.com/hashicorp/terraform-provider-google/issues/new/choose
#
# ----------------------------------------------------------------------------
subcategory: "Compute"
subcategory: "Compute Engine"
layout: "google"
page_title: "Google: google_compute_firewall_policy_association"
sidebar_current: "docs-google-compute-firewall-policy-association"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/compute_firewall_policy_rule.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# are required, please file an issue at https:#github.com/hashicorp/terraform-provider-google/issues/new/choose
#
# ----------------------------------------------------------------------------
subcategory: "Compute"
subcategory: "Compute Engine"
layout: "google"
page_title: "Google: google_compute_firewall_policy_rule"
sidebar_current: "docs-google-compute-firewall-policy-rule"
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/monitoring_monitored_project.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# are required, please file an issue at https:#github.com/hashicorp/terraform-provider-google/issues/new/choose
#
# ----------------------------------------------------------------------------
subcategory: "Monitoring"
subcategory: "Cloud (Stackdriver) Monitoring"
layout: "google"
page_title: "Google: google_monitoring_monitored_project"
sidebar_current: "docs-google-monitoring-monitored-project"
Expand Down
56 changes: 16 additions & 40 deletions website/google.erb
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,10 @@
<a href="/docs/providers/google/r/monitoring_metric_descriptor.html">google_monitoring_metric_descriptor</a>
</li>

<li>
<a href="/docs/providers/google/r/monitoring_monitored_project.html">google_monitoring_monitored_project</a>
</li>

<li>
<a href="/docs/providers/google/r/monitoring_notification_channel.html">google_monitoring_notification_channel</a>
</li>
Expand Down Expand Up @@ -1574,30 +1578,6 @@
</ul>
</li>

<li>
<a href="#">Compute</a>
<ul class="nav">
<li>
<a href="#">Resources</a>
<ul class="nav nav-auto-expand">

<li>
<a href="/docs/providers/google/r/compute_firewall_policy.html">google_compute_firewall_policy</a>
</li>

<li>
<a href="/docs/providers/google/r/compute_firewall_policy_association.html">google_compute_firewall_policy_association</a>
</li>

<li>
<a href="/docs/providers/google/r/compute_firewall_policy_rule.html">google_compute_firewall_policy_rule</a>
</li>

</ul>
</li>
</ul>
</li>

<li>
<a href="#">Compute Engine</a>
<ul class="nav">
Expand Down Expand Up @@ -1771,6 +1751,18 @@
<a href="/docs/providers/google/r/compute_firewall.html">google_compute_firewall</a>
</li>

<li>
<a href="/docs/providers/google/r/compute_firewall_policy.html">google_compute_firewall_policy</a>
</li>

<li>
<a href="/docs/providers/google/r/compute_firewall_policy_association.html">google_compute_firewall_policy_association</a>
</li>

<li>
<a href="/docs/providers/google/r/compute_firewall_policy_rule.html">google_compute_firewall_policy_rule</a>
</li>

<li>
<a href="/docs/providers/google/r/compute_forwarding_rule.html">google_compute_forwarding_rule</a>
</li>
Expand Down Expand Up @@ -2748,22 +2740,6 @@
</ul>
</li>

<li>
<a href="#">Monitoring</a>
<ul class="nav">
<li>
<a href="#">Resources</a>
<ul class="nav nav-auto-expand">

<li>
<a href="/docs/providers/google/r/monitoring_monitored_project.html">google_monitoring_monitored_project</a>
</li>

</ul>
</li>
</ul>
</li>

<li>
<a href="#">Network services</a>
<ul class="nav">
Expand Down

0 comments on commit d7ddbe2

Please sign in to comment.