From 91b8aba85f3e133988a8f0350a5928190ea86efb Mon Sep 17 00:00:00 2001 From: Roman Grinovski Date: Mon, 18 Sep 2023 15:14:29 +0200 Subject: [PATCH] fix /opentf links (#435) Signed-off-by: Roman Grinovski --- website/docs/cli/commands/apply.mdx | 2 +- website/docs/cli/commands/plan.mdx | 2 +- website/docs/language/expressions/types.mdx | 2 +- website/docs/language/syntax/json.mdx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/docs/cli/commands/apply.mdx b/website/docs/cli/commands/apply.mdx index 91da9941c6..f12fe592f3 100644 --- a/website/docs/cli/commands/apply.mdx +++ b/website/docs/cli/commands/apply.mdx @@ -67,7 +67,7 @@ The following options change how the apply command executes and reports on the a variable values to continue. To enable this flag, you must also either enable the `-auto-approve` flag or specify a previously-saved plan. - [machine-readable-ui]: /opentf/internals/machine-readable-ui + [machine-readable-ui]: /docs/internals/machine-readable-ui - `-lock=false` - Don't hold a state lock during the operation. This is dangerous if others might concurrently run commands against the same diff --git a/website/docs/cli/commands/plan.mdx b/website/docs/cli/commands/plan.mdx index c985ef1330..6d7caaecbd 100644 --- a/website/docs/cli/commands/plan.mdx +++ b/website/docs/cli/commands/plan.mdx @@ -289,7 +289,7 @@ The available options are: This implies `-input=false`, so the configuration must have no unassigned variable values to continue. - [machine-readable-ui]: /opentf/internals/machine-readable-ui + [machine-readable-ui]: /docs/internals/machine-readable-ui * `-lock=false` - Don't hold a state lock during the operation. This is dangerous if others might concurrently run commands against the same diff --git a/website/docs/language/expressions/types.mdx b/website/docs/language/expressions/types.mdx index 654ebf0bea..9631450977 100644 --- a/website/docs/language/expressions/types.mdx +++ b/website/docs/language/expressions/types.mdx @@ -29,7 +29,7 @@ The OpenTF language uses the following types for its values: Strings, numbers, and bools are sometimes called _primitive types._ Lists and sets are forms of tuples. Maps are a form of objects. Tuples and maps are sometimes called _complex types,_ _structural types,_ or _collection types._ See -[Type Constraints](/opentf/language/expressions/type-constraints) for a more detailed +[Type Constraints](/docs/language/expressions/type-constraints) for a more detailed description of complex types. Finally, there is one special value that has _no_ type: diff --git a/website/docs/language/syntax/json.mdx b/website/docs/language/syntax/json.mdx index e396acad36..4463f910b3 100644 --- a/website/docs/language/syntax/json.mdx +++ b/website/docs/language/syntax/json.mdx @@ -120,7 +120,7 @@ are mapped as follows: | Array | Each element is mapped per this table, producing a `tuple(...)` value with suitable element types. | | Null | A literal `null`. | -[string template]: /opentf/language/expressions/strings#string-templates +[string template]: /docs/language/expressions/strings#string-templates When a JSON string is encountered in a location where arbitrary expressions are expected, its value is first parsed as a [string template][]