Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db064ed

Browse files
authored
docs: fix formatting of note callouts (#16761)
Fixes the formatting of several note callouts. Previously, these would render incorrectly both on GitHub and on the documentation site.
1 parent 17f8e93 commit db064ed

File tree

7 files changed

+18
-11
lines changed

7 files changed

+18
-11
lines changed

docs/admin/provisioners.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ inside the Terraform. See the
166166
[workspace tags documentation](../admin/templates/extending-templates/workspace-tags.md)
167167
for more information.
168168

169-
> [!NOTE] Workspace tags defined with the `coder_workspace_tags` data source
169+
> [!NOTE]
170+
> Workspace tags defined with the `coder_workspace_tags` data source
170171
> template **do not** automatically apply to the template import job! You may
171172
> need to specify the desired tags when importing the template.
172173

@@ -190,7 +191,8 @@ However, it will not pick up any build jobs that do not have either of the
190191
from templates with the tag `scope=user` set, or build jobs from templates in
191192
different organizations.
192193

193-
> [!NOTE] If you only run tagged provisioners, you will need to specify a set of
194+
> [!NOTE]
195+
> If you only run tagged provisioners, you will need to specify a set of
194196
> tags that matches at least one provisioner for _all_ template import jobs and
195197
> workspace build jobs.
196198
>

docs/admin/templates/extending-templates/parameters.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ data "coder_parameter" "security_groups" {
7979
}
8080
```
8181

82-
> [!NOTE] Overriding a `list(string)` on the CLI is tricky because:
82+
> [!NOTE]
83+
> Overriding a `list(string)` on the CLI is tricky because:
8384
>
8485
> - `--parameter "parameter_name=parameter_value"` is parsed as CSV.
8586
> - `parameter_value` is parsed as JSON.

examples/examples.gen.json

+4-4
Large diffs are not rendered by default.

examples/templates/aws-devcontainer/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ When creating the template, set the parameter `cache_repo` to a valid Docker rep
9696

9797
See the [Envbuilder Terraform Provider Examples](https://github.com/coder/terraform-provider-envbuilder/blob/main/examples/resources/envbuilder_cached_image/envbuilder_cached_image_resource.tf/) for a more complete example of how the provider works.
9898

99-
> [!NOTE] We recommend using a registry cache with authentication enabled.
99+
> [!NOTE]
100+
> We recommend using a registry cache with authentication enabled.
100101
> To allow Envbuilder to authenticate with a registry cache hosted on ECR, specify an IAM instance
101102
> profile that has read and write access to the given registry. For more information, see the
102103
> [AWS documentation](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-ec2_instance-profiles.html).

examples/templates/docker-devcontainer/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Then, when creating the template, enter `localhost:5000/devcontainer-cache` for
7171

7272
See the [Envbuilder Terraform Provider Examples](https://github.com/coder/terraform-provider-envbuilder/blob/main/examples/resources/envbuilder_cached_image/envbuilder_cached_image_resource.tf/) for a more complete example of how the provider works.
7373

74-
> [!NOTE] We recommend using a registry cache with authentication enabled.
74+
> [!NOTE]
75+
> We recommend using a registry cache with authentication enabled.
7576
> To allow Envbuilder to authenticate with the registry cache, specify the variable `cache_repo_docker_config_path`
7677
> with the path to a Docker config `.json` on disk containing valid credentials for the registry.

examples/templates/gcp-devcontainer/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ When creating the template, set the parameter `cache_repo` to a valid Docker rep
7070

7171
See the [Envbuilder Terraform Provider Examples](https://github.com/coder/terraform-provider-envbuilder/blob/main/examples/resources/envbuilder_cached_image/envbuilder_cached_image_resource.tf/) for a more complete example of how the provider works.
7272

73-
> [!NOTE] We recommend using a registry cache with authentication enabled.
73+
> [!NOTE]
74+
> We recommend using a registry cache with authentication enabled.
7475
> To allow Envbuilder to authenticate with the registry cache, specify the variable `cache_repo_docker_config_path`
7576
> with the path to a Docker config `.json` on disk containing valid credentials for the registry.
7677

examples/templates/kubernetes-devcontainer/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ When creating the template, set the parameter `cache_repo`.
5252

5353
See the [Envbuilder Terraform Provider Examples](https://github.com/coder/terraform-provider-envbuilder/blob/main/examples/resources/envbuilder_cached_image/envbuilder_cached_image_resource.tf/) for a more complete example of how the provider works.
5454

55-
> [!NOTE] We recommend using a registry cache with authentication enabled.
55+
> [!NOTE]
56+
> We recommend using a registry cache with authentication enabled.
5657
> To allow Envbuilder to authenticate with the registry cache, specify the variable `cache_repo_dockerconfig_secret`
5758
> with the name of a Kubernetes secret in the same namespace as Coder. The secret must contain the key `.dockerconfigjson`.

0 commit comments

Comments
 (0)