Skip to content

v3.52.0-rc1

Pre-release
Pre-release

Choose a tag to compare

@jotruon jotruon released this 13 Nov 21:09
· 4983 commits to master since this release
Add subcategories to docs for Terraform Registry

* Add subcategories to docs for Terraform Registry

We will soon be displaying documentation for this provider both on
[terraform.io](https://www.terraform.io/docs/providers/index.html)
and on [the Terraform Registry](https://registry.terraform.io/providers).

Documentation displayed on the Terraform Registry will not use the ERB
layout containing the existing navigation, and will instead build the
navigation dynamically based on the directory and YAML frontmatter of a file.
For providers that group similar resources and data sources by service or
use case (subcategories), we'll need to add this information to the
Markdown source file.

This PR modifies Resource and Data Source documentation source files by
adding a subcategory to the metadata if those files were grouped previously.

For more information about how documentation is rendered on the
Terraform Registry, please see this reference:
[Terraform Registry - Provider Documentation](https://www.terraform.io/docs/registry/providers/docs.html).

* Add Docs Check Script

Add script to check docs compatibility with Terraform Registry
importing.

* Manually Add Subcategory for Core Shape Management

The docscheck script discovered that the oci_core_shape_management
documentation was missing subcategory data. Manually adding the
meta data to the document.

* Update doscheck script for data sources

* Add test-docscheck make target to verify.bash