From 99410c6950426d1ce2d8f9438819750c6cebc7c2 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 28 Nov 2024 16:02:09 +0500 Subject: [PATCH] fix: fix links in version 2 upgrade guide --- docs/guides/version-2-upgrade.md | 8 ++++---- docs/index.md | 2 +- templates/guides/version-2-upgrade.md.tmpl | 8 ++++---- templates/index.md.tmpl | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/guides/version-2-upgrade.md b/docs/guides/version-2-upgrade.md index 49e262e..8c8233e 100644 --- a/docs/guides/version-2-upgrade.md +++ b/docs/guides/version-2-upgrade.md @@ -1,8 +1,8 @@ --- -page_title: "Terraform Coder Provider Version 2 Upgrade Guide" +page_title: "Version 2 Upgrade Guide" --- -# Terraform Coder Provider Version 2 Upgrade Guide +# Version 2 Upgrade Guide Version 2.0.0 of the Coder provider for Terraform is a major release that introduces some changes that you will need to consider when upgrading. This guide is intended to help with the process, and focuses only on the changes from version 1.X to version 2.0.0. @@ -13,8 +13,8 @@ Upgrade topics: - [Provider Version Configuration](#provider-version-configuration) - [Provider Arguments](#provider-arguments) -- [Data Source: coder_git_auth --> coder_external_auth](#data-source-coder_git_auth) -- [Data Source: coder_workspace](#data-source-coder_workspace) +- [Data Source: [`coder_git_auth`](#data-source-coder_git_auth) +- [Data Source: [`coder_workspace`](#data-source-coder_workspace) ## Provider Version Configuration diff --git a/docs/index.md b/docs/index.md index ec7be2d..c30f147 100644 --- a/docs/index.md +++ b/docs/index.md @@ -12,7 +12,7 @@ Terraform provider for managing Coder [templates](https://coder.com/docs/admin/t -> Requires Coder [v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) or later. -!> [`coder_git_auth`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/git_auth) and owner related fields of [`coder_workspace`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/workspace) data source have been removed. Follow the [Version 2 Upgrade Guide](https://registry.terraform.io/providers/codercom/coder/latest/docs/guides/version-2-upgrade) to update your code. +!> [`coder_git_auth`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/git_auth) and owner related fields of [`coder_workspace`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/workspace) data source have been removed. Follow the [Version 2 Upgrade Guide](https://registry.terraform.io/providers/coder/coder/latest/docs/guides/version-2-upgrade) to update your code. ## Example diff --git a/templates/guides/version-2-upgrade.md.tmpl b/templates/guides/version-2-upgrade.md.tmpl index 49e262e..8c8233e 100644 --- a/templates/guides/version-2-upgrade.md.tmpl +++ b/templates/guides/version-2-upgrade.md.tmpl @@ -1,8 +1,8 @@ --- -page_title: "Terraform Coder Provider Version 2 Upgrade Guide" +page_title: "Version 2 Upgrade Guide" --- -# Terraform Coder Provider Version 2 Upgrade Guide +# Version 2 Upgrade Guide Version 2.0.0 of the Coder provider for Terraform is a major release that introduces some changes that you will need to consider when upgrading. This guide is intended to help with the process, and focuses only on the changes from version 1.X to version 2.0.0. @@ -13,8 +13,8 @@ Upgrade topics: - [Provider Version Configuration](#provider-version-configuration) - [Provider Arguments](#provider-arguments) -- [Data Source: coder_git_auth --> coder_external_auth](#data-source-coder_git_auth) -- [Data Source: coder_workspace](#data-source-coder_workspace) +- [Data Source: [`coder_git_auth`](#data-source-coder_git_auth) +- [Data Source: [`coder_workspace`](#data-source-coder_workspace) ## Provider Version Configuration diff --git a/templates/index.md.tmpl b/templates/index.md.tmpl index be92b93..efdaae9 100644 --- a/templates/index.md.tmpl +++ b/templates/index.md.tmpl @@ -12,7 +12,7 @@ Terraform provider for managing Coder [templates](https://coder.com/docs/admin/t -> Requires Coder [v2.18.0](https://github.com/coder/coder/releases/tag/v2.18.0) or later. -!> [`coder_git_auth`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/git_auth) and owner related fields of [`coder_workspace`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/workspace) data source have been removed. Follow the [Version 2 Upgrade Guide](https://registry.terraform.io/providers/codercom/coder/latest/docs/guides/version-2-upgrade) to update your code. +!> [`coder_git_auth`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/git_auth) and owner related fields of [`coder_workspace`](https://registry.terraform.io/providers/coder/coder/1.0.4/docs/data-sources/workspace) data source have been removed. Follow the [Version 2 Upgrade Guide](https://registry.terraform.io/providers/coder/coder/latest/docs/guides/version-2-upgrade) to update your code. ## Example