Fix documentation navigation for gridscale_paas_securityzone #467
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes an issue where the Terraform Registry documentation was displaying "gridscale_securityzone" in the left sidebar navigation instead of the correct resource name "gridscale_paas_securityzone".
Problem
The sidebar navigation in the Terraform Registry docs showed an incorrect resource name due to mismatched
sidebar_currentvalues between the documentation files and the navigation template.Root Cause
The
sidebar_currentmetadata in both the resource and data source documentation files did not match the corresponding references inwebsite/gridscale.erb:Navigation template expected:
"docs-gridscale-resource-paas-securityzone"Resource doc had:
"docs-gridscale-resource-securityzone"❌Navigation template expected:
"docs-gridscale-datasource-paas-securityzone"Data source doc had:
"docs-gridscale-datasource-securityzone"❌Solution
Updated the
sidebar_currentvalues in both documentation files to match the navigation template:website/docs/r/securityzone.html.md: Updated to"docs-gridscale-resource-paas-securityzone"website/docs/d/securityzone.html.md: Updated to"docs-gridscale-datasource-paas-securityzone"This ensures the sidebar navigation correctly displays "gridscale_paas_securityzone" for both the resource and data source documentation pages.
Verification
Closes #[issue_number]
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.