Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix-up docs templates #236

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

eamonnotoole
Copy link
Contributor

We've updated the version of tfplugin-docs which has exposed issues with the existing resource templates. As a result of a change in indentation in the generated "description" field of the the .md files resulting from the resource templates the documentation wasn't being categorised correctly on the provider registry landing page. To fix this we make the following change in each template:

{{ .Description | plainmarkdown | trimspace | prefixlines " " }}

becomes

{{ .Description | plainmarkdown | trimspace | prefixlines " " }}

We've updated the version of tfplugin-docs which has exposed issues with
the existing resource templates.  As a result of a change in indentation
in the generated "description" field of the the .md files resulting from
the resource templates the documentation wasn't being categorised
correctly on the provider registry landing page.  To fix this we make
the following change in each template:

  {{ .Description | plainmarkdown | trimspace | prefixlines "  " }}

becomes

{{ .Description | plainmarkdown | trimspace | prefixlines "  " }}
@mahesh-hpe mahesh-hpe merged commit e85dcc6 into HewlettPackard:master Jun 11, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants