From bb83c82d4895267443ddbcd48930ae54dcc1f961 Mon Sep 17 00:00:00 2001 From: trujillo-adam Date: Fri, 24 May 2024 16:04:08 -0700 Subject: [PATCH] renamed install plugins mdx and added redirects --- website/content/docs/community-tools.mdx | 2 +- website/content/docs/plugins/creation/custom-builders.mdx | 2 +- website/content/docs/plugins/creation/index.mdx | 2 +- .../docs/plugins/{install-plugins.mdx => install.mdx} | 0 website/content/docs/release-notes/v1_11.mdx | 2 +- website/redirects.js | 5 +++++ 6 files changed, 9 insertions(+), 4 deletions(-) rename website/content/docs/plugins/{install-plugins.mdx => install.mdx} (100%) diff --git a/website/content/docs/community-tools.mdx b/website/content/docs/community-tools.mdx index 3a222f17a..b984fb61d 100644 --- a/website/content/docs/community-tools.mdx +++ b/website/content/docs/community-tools.mdx @@ -19,7 +19,7 @@ vendors. These plugins are not officially tested nor officially maintained by HashiCorp, and are listed here in order to help users find them easily. To learn more about how to use community plugins, or how to build your own, -check out the docs on [extending Packer](https://developer.hashicorp.com/packer/docs/plugins/install-plugins) +check out the docs on [extending Packer](/packer/docs/plugins/install) If you have built a plugin and would like to add it to this community list, please make a pull request so that we can document your diff --git a/website/content/docs/plugins/creation/custom-builders.mdx b/website/content/docs/plugins/creation/custom-builders.mdx index efad53acc..b8dae7ede 100644 --- a/website/content/docs/plugins/creation/custom-builders.mdx +++ b/website/content/docs/plugins/creation/custom-builders.mdx @@ -306,5 +306,5 @@ order to make it available to the Packer core as a plugin. We have created a [scaffolding](https://github.com/hashicorp/packer-plugin-scaffolding/blob/main/builder/scaffolding/builder.go) repo to give you an idea of the relationship between the builder implementation and the server implementation within a repository, and then read -[basics of how Plugins work](/packer/docs/plugins/install-plugins), which breaks down all the +[basics of how Plugins work](/packer/docs/plugins/install), which breaks down all the server details. diff --git a/website/content/docs/plugins/creation/index.mdx b/website/content/docs/plugins/creation/index.mdx index 763877aa0..ddf2e10bd 100644 --- a/website/content/docs/plugins/creation/index.mdx +++ b/website/content/docs/plugins/creation/index.mdx @@ -9,7 +9,7 @@ page_title: Extending # Developing Plugins Packer is extensible and supports plugins that let you -create and use custom builders, provisioners, post-processors, and data sources. This page explains how to develop Packer plugins. Before you begin, we recommend reviewing the Packer documentation and the instructions for [installing external plugins](https://developer.hashicorp.com/packer/docs/plugins/install-plugins). +create and use custom builders, provisioners, post-processors, and data sources. This page explains how to develop Packer plugins. Before you begin, we recommend reviewing the Packer documentation and the instructions for [installing external plugins](/packer/docs/plugins/install). ~> **Warning** This is an advanced topic. You should have strong knowledge of Packer before you start writing plugins. diff --git a/website/content/docs/plugins/install-plugins.mdx b/website/content/docs/plugins/install.mdx similarity index 100% rename from website/content/docs/plugins/install-plugins.mdx rename to website/content/docs/plugins/install.mdx diff --git a/website/content/docs/release-notes/v1_11.mdx b/website/content/docs/release-notes/v1_11.mdx index 5586f10ab..294490038 100644 --- a/website/content/docs/release-notes/v1_11.mdx +++ b/website/content/docs/release-notes/v1_11.mdx @@ -18,7 +18,7 @@ To boost stability, Packer no longer loads plugin binaries installed outside of `packer-plugin-` `packer-plugin-_v0.0.1_x5.0_darwin_arm64` -Refer to [Installing Plugins](/packer/docs/plugins/install-plugins) for details about how to load plugins. +Refer to [Installing Plugins](/packer/docs/plugins/install) for details about how to load plugins. ## Deprecations diff --git a/website/redirects.js b/website/redirects.js index 7d56c6e47..05458574d 100644 --- a/website/redirects.js +++ b/website/redirects.js @@ -86,6 +86,11 @@ module.exports = [ destination: '/packer/docs/templates/hcl_templates/functions', permanent: true, }, + { + source: '/packer/docs/plugins/install-plugins', + destination: '/packer/docs/plugins/install', + permanent: true, + }, /** * END EMPTY PAGE REDIRECTS */