remove .mdx extensions in links (#10823)

Some of them were added in #10800 some where already there
pull/10825/head^2
Adrien Delorme 5 years ago committed by GitHub
parent 505cbd2591
commit a9bec7945e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -107,7 +107,7 @@ const (
# Read the documentation for data blocks here:
# https://www.packer.io/docs/templates/hcl_templates/blocks/data
# Read the documentation for the Amazon AMI Data Source here:
# https://www.packer.io/docs/datasources/amazon/ami.mdx`
# https://www.packer.io/docs/datasources/amazon/ami`
amazonSecretsManagerDataHeader = `
# The amazon-secretsmanager data block is generated from your aws_secretsmanager template function; a data
@ -115,7 +115,7 @@ const (
# Read the documentation for data blocks here:
# https://www.packer.io/docs/templates/hcl_templates/blocks/data
# Read the documentation for the Amazon Secrets Manager Data Source here:
# https://www.packer.io/docs/datasources/amazon/secretsmanager.mdx`
# https://www.packer.io/docs/datasources/amazon/secretsmanager`
)
var (

@ -52,7 +52,7 @@ variable "secret_account" {
# Read the documentation for data blocks here:
# https://www.packer.io/docs/templates/hcl_templates/blocks/data
# Read the documentation for the Amazon Secrets Manager Data Source here:
# https://www.packer.io/docs/datasources/amazon/secretsmanager.mdx
# https://www.packer.io/docs/datasources/amazon/secretsmanager
data "amazon-secretsmanager" "autogenerated_1" {
name = "sample/app/password"
}
@ -76,7 +76,7 @@ data "amazon-secretsmanager" "autogenerated_4" {
# Read the documentation for data blocks here:
# https://www.packer.io/docs/templates/hcl_templates/blocks/data
# Read the documentation for the Amazon AMI Data Source here:
# https://www.packer.io/docs/datasources/amazon/ami.mdx
# https://www.packer.io/docs/datasources/amazon/ami
data "amazon-ami" "autogenerated_1" {
access_key = "${var.aws_access_key}"
filters = {

@ -10,7 +10,7 @@ sidebar_title: Custom Data Sources
Packer Data Sources are the components of Packer that allow data to be fetched for use within the configuration.
Use of data sources allows a build to use information defined outside of Packer. An example of
data source is the [amazon-ami data source](/docs/datasources/amazon/ami.mdx), which outputs the data of a fetched Amazon AMI.
data source is the [amazon-ami data source](/docs/datasources/amazon/ami), which outputs the data of a fetched Amazon AMI.
Prior to reading this page, it is assumed you have read the page on [plugin
development basics](/docs/plugins).

@ -78,11 +78,11 @@ Example of using [upper](/docs/templates/hcl_templates/functions/string/upper) t
For builder-specific builder variables, please also refer to the builder docs:
- Amazon EC2: [chroot](/docs/builders/amazon/chroot.mdx#build-shared-information-variables),
[EBS Volume](/docs/builders/amazon/ebsvolume.mdx#build-shared-information-variables),
[EBS](/docs/builders/amazon/ebs.mdx#build-shared-information-variables),
[EBS Surrogate](/docs/builders/amazon/ebssurrogate.mdx#build-shared-information-variables),
[Instance](/docs/builders/amazon/instance.mdx#build-shared-information-variables).
- Amazon EC2: [chroot](/docs/builders/amazon/chroot#build-shared-information-variables),
[EBS Volume](/docs/builders/amazon/ebsvolume#build-shared-information-variables),
[EBS](/docs/builders/amazon/ebs#build-shared-information-variables),
[EBS Surrogate](/docs/builders/amazon/ebssurrogate#build-shared-information-variables),
[Instance](/docs/builders/amazon/instance#build-shared-information-variables).
The HCL2 Special Build Variables is in beta; please report any issues or requests on the Packer
issue tracker on GitHub.

@ -31,7 +31,7 @@ It's not valid to mix both named and unnamed capture groups in the same pattern.
If the given pattern does not match at all, the `regex` raises an error. To
_test_ whether a given pattern matches a string, use
[`regexall`](./regexall.mdx) and test that the result has length greater than
[`regexall`](./regexall) and test that the result has length greater than
zero.
The pattern is a string containing a mixture of literal characters and special
@ -153,8 +153,8 @@ string.
## Related Functions
- [`regexall`](./regexall.mdx) searches for potentially multiple matches of a given pattern in a string.
- [`replace`](./replace.mdx) replaces a substring of a string with another string, optionally matching using the same regular expression syntax as `regex`.
- [`regexall`](./regexall) searches for potentially multiple matches of a given pattern in a string.
- [`replace`](./replace) replaces a substring of a string with another string, optionally matching using the same regular expression syntax as `regex`.
If Packer already has a more specialized function to parse the syntax you
are trying to match, prefer to use that function instead. Regular expressions

@ -15,7 +15,7 @@ to a string and returns a list of all matches.
regexall(pattern, string)
```
`regexall` is a variant of [`regex`](./regex.mdx) and uses the same pattern
`regexall` is a variant of [`regex`](./regex) and uses the same pattern
syntax. For any given input to `regex`, `regexall` returns a list of whatever
type `regex` would've returned, with one element per match. That is:
@ -48,7 +48,7 @@ false
## Related Functions
- [`regex`](./regex.mdx) searches for a single match of a given pattern, and
- [`regex`](./regex) searches for a single match of a given pattern, and
returns an error if no match is found.
If Packer already has a more specialized function to parse the syntax you

@ -110,11 +110,11 @@ Here is a full list of the available functions for reference.
For builder-specific builder variables, please also refer to the builder docs:
- Amazon EC2: [chroot](/docs/builders/amazon/chroot.mdx#build-shared-information-variables),
[EBS Volume](/docs/builders/amazon/ebsvolume.mdx#build-shared-information-variables),
[EBS](/docs/builders/amazon/ebs.mdx#build-shared-information-variables),
[EBS Surrogate](/docs/builders/amazon/ebssurrogate.mdx#build-shared-information-variables),
[Instance](/docs/builders/amazon/instance.mdx#build-shared-information-variables).
- Amazon EC2: [chroot](/docs/builders/amazon/chroot#build-shared-information-variables),
[EBS Volume](/docs/builders/amazon/ebsvolume#build-shared-information-variables),
[EBS](/docs/builders/amazon/ebs#build-shared-information-variables),
[EBS Surrogate](/docs/builders/amazon/ebssurrogate#build-shared-information-variables),
[Instance](/docs/builders/amazon/instance#build-shared-information-variables).
This engine is in beta; please report any issues or requests on the Packer
issue tracker on GitHub.

Loading…
Cancel
Save