Skip to content

Commit

Permalink
Update InSpec doc template to use underscored name in title box (#1333)
Browse files Browse the repository at this point in the history
Merged PR #1333.
  • Loading branch information
slevenick authored and modular-magician committed Jan 31, 2019
1 parent 8b234da commit 4b252bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/inspec
Submodule inspec updated 43 files
+1 −2 docs/resources/google_cloudbuild_trigger.md
+1 −2 docs/resources/google_cloudbuild_triggers.md
+1 −2 docs/resources/google_compute_autoscaler.md
+1 −2 docs/resources/google_compute_autoscalers.md
+1 −2 docs/resources/google_compute_backend_service.md
+1 −2 docs/resources/google_compute_backend_services.md
+1 −2 docs/resources/google_compute_disk.md
+1 −2 docs/resources/google_compute_disks.md
+1 −2 docs/resources/google_compute_global_address.md
+1 −2 docs/resources/google_compute_global_addresses.md
+1 −2 docs/resources/google_compute_global_forwarding_rule.md
+1 −2 docs/resources/google_compute_global_forwarding_rules.md
+1 −2 docs/resources/google_compute_health_check.md
+1 −2 docs/resources/google_compute_health_checks.md
+1 −2 docs/resources/google_compute_http_health_check.md
+1 −2 docs/resources/google_compute_http_health_checks.md
+1 −2 docs/resources/google_compute_https_health_check.md
+1 −2 docs/resources/google_compute_https_health_checks.md
+1 −2 docs/resources/google_compute_instance_group_manager.md
+1 −2 docs/resources/google_compute_instance_group_managers.md
+1 −2 docs/resources/google_compute_instance_template.md
+1 −2 docs/resources/google_compute_instance_templates.md
+1 −2 docs/resources/google_compute_route.md
+1 −2 docs/resources/google_compute_routes.md
+1 −2 docs/resources/google_compute_ssl_policies.md
+1 −2 docs/resources/google_compute_ssl_policy.md
+1 −2 docs/resources/google_compute_target_http_proxies.md
+1 −2 docs/resources/google_compute_target_http_proxy.md
+1 −2 docs/resources/google_compute_target_pool.md
+1 −2 docs/resources/google_compute_target_pools.md
+1 −2 docs/resources/google_compute_target_tcp_proxies.md
+1 −2 docs/resources/google_compute_target_tcp_proxy.md
+1 −2 docs/resources/google_compute_url_map.md
+1 −2 docs/resources/google_compute_url_maps.md
+1 −2 docs/resources/google_container_regional_cluster.md
+1 −2 docs/resources/google_container_regional_clusters.md
+1 −2 docs/resources/google_dns_resource_record_set.md
+1 −2 docs/resources/google_dns_resource_record_sets.md
+1 −2 docs/resources/google_pubsub_subscription.md
+1 −2 docs/resources/google_pubsub_subscriptions.md
+1 −2 docs/resources/google_pubsub_topic.md
+1 −2 docs/resources/google_pubsub_topics.md
+4 −0 test/integration/build/gcp-mm.tf
4 changes: 2 additions & 2 deletions templates/inspec/doc_template.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
# limitations under the License.
-%>
<% autogen_exception -%>
<% resource_underscored_name = plural ? resource_name(object, product_ns).pluralize : resource_name(object, product_ns) -%>
---
title: About the <%= object.name -%> resource
title: About the <%= resource_underscored_name -%> resource
platform: gcp
---

<% resource_underscored_name = plural ? resource_name(object, product_ns).pluralize : resource_name(object, product_ns) %>
## Syntax
A `<%= resource_underscored_name -%>` is used to test a Google <%= object.name -%> resource

Expand Down

0 comments on commit 4b252bc

Please sign in to comment.