-
Notifications
You must be signed in to change notification settings - Fork 20
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
docs: improve docs by using code-styled markdown #260
Conversation
@@ -16,7 +16,7 @@ func gitAuthDataSource() *schema.Resource { | |||
SchemaVersion: 1, | |||
|
|||
DeprecationMessage: "Use the `coder_external_auth` data source instead.", | |||
Description: "Use this data source to require users to authenticate with a Git provider prior to workspace creation. This can be used to perform an authenticated `git clone` in startup scripts.", | |||
Description: "~> **Deprecated**\nUse the `coder_external_auth` data source instead.\n\nUse this data source to require users to authenticate with a Git provider prior to workspace creation. This can be used to perform an authenticated `git clone` in startup scripts.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does ~>
do here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes it rendered as a warning
https://developer.hashicorp.com/terraform/registry/providers/docs#callouts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
backports d2e2d96 to https://github.com/coder/terraform-provider-coder/tree/release/1.0
We can patch v1.0.1 so users can benefit from the docs improvement.