Missed links from link rewrite (#1543)

Signed-off-by: Janos <86970079+janosdebugs@users.noreply.github.com>
This commit is contained in:
Janos 2024-04-24 13:46:37 +02:00 committed by GitHub
parent a15a6c9657
commit 4abe323003
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 68 additions and 70 deletions

View File

@ -16,28 +16,28 @@ Welcome to OpenTofu 1.7! This version brings you a host of new features like sta
items={[
{
type: "link",
href: "/docs/intro",
href: "intro/",
label: "Getting started",
description:
"Get started with OpenTofu or migrate from a previous version. This section has all the info you need.",
},
{
type: "link",
href: "/docs/language",
href: "language/",
label: "Language",
description:
"Use the OpenTofu configuration language to describe the infrastructure that OpenTofu manages.",
},
{
type: "link",
href: "/docs/cli",
href: "cli/",
label: "CLI Documentation",
description:
"Learn OpenTofu's CLI-based workflows. You can use the CLI alone or with cloud backends.",
},
{
type: "link",
href: "/docs/internals",
href: "internals/",
label: "Internals",
description:
"Learn how OpenTofu generates the resource dependency graph and executes other internal processes.",

View File

@ -11,60 +11,60 @@ import DocCardList from "@theme/DocCardList";
You can install OpenTofu via a wide range of methods. Please select your operating system and installation method:
<DocCardList
items={[
{
type: "link",
href: "/docs/intro/install/alpine",
label: "Alpine Linux (.apk)",
description: "Install OpenTofu from an .apk package directly.",
},
{
type: "link",
href: "/docs/intro/install/deb",
label: "Debian Linux and derivatives (.deb)",
description:
"Install OpenTofu on Debian, Ubuntu, or any other .deb-based Linux distribution using your package manager.",
},
{
type: "link",
href: "/docs/intro/install/rpm",
label: "RHEL and derivatives (.rpm)",
description:
"Install OpenTofu on RHEL, Fedora, openSUSE, or any other .rpm-based Linux distribution using your package manager.",
},
{
type: "link",
href: "/docs/intro/install/snap",
label: "Ubuntu Linux (Snap)",
description:
"Install OpenTofu on Ubuntu, Manjaro, or any other Linux distribution using Snap.",
},
{
type: "link",
href: "/docs/intro/install/homebrew",
label: "MacOS or Linux (Homebrew)",
description: "Install OpenTofu on MacOS or Linux using Homebrew.",
},
{
type: "link",
href: "/docs/intro/install/bsd",
label: "FreeBSD",
description:
"Use OpenTofu without installation on FreeBSD.",
},
{
type: "link",
href: "/docs/intro/install/standalone",
label: "Standalone (Linux/MacOS/Windows/BSD)",
description:
"Use OpenTofu without installation on Linux, MacOS, Windows or FreeBSD.",
},
{
type: "link",
href: "/docs/intro/install/docker",
label: "OCI container image",
description:
"Use official OCI container image available on GitHub Container Registry.",
},
]}
items={[
{
type: "link",
href: "alpine/",
label: "Alpine Linux (.apk)",
description: "Install OpenTofu from an .apk package directly.",
},
{
type: "link",
href: "deb/",
label: "Debian Linux and derivatives (.deb)",
description:
"Install OpenTofu on Debian, Ubuntu, or any other .deb-based Linux distribution using your package manager.",
},
{
type: "link",
href: "rpm/",
label: "RHEL and derivatives (.rpm)",
description:
"Install OpenTofu on RHEL, Fedora, openSUSE, or any other .rpm-based Linux distribution using your package manager.",
},
{
type: "link",
href: "snap/",
label: "Ubuntu Linux (Snap)",
description:
"Install OpenTofu on Ubuntu, Manjaro, or any other Linux distribution using Snap.",
},
{
type: "link",
href: "homebrew/",
label: "MacOS or Linux (Homebrew)",
description: "Install OpenTofu on MacOS or Linux using Homebrew.",
},
{
type: "link",
href: "bsd/",
label: "FreeBSD",
description:
"Use OpenTofu without installation on FreeBSD.",
},
{
type: "link",
href: "standalone/",
label: "Standalone (Linux/MacOS/Windows/BSD)",
description:
"Use OpenTofu without installation on Linux, MacOS, Windows or FreeBSD.",
},
{
type: "link",
href: "docker/",
label: "OCI container image",
description:
"Use official OCI container image available on GitHub Container Registry.",
},
]}
/>

View File

@ -111,16 +111,14 @@ Since JSON grammar is not able to represent all of the OpenTofu language
[expression syntax](../../language/expressions/index.mdx), JSON values interpreted as expressions
are mapped as follows:
| JSON | OpenTofu Language Interpretation |
| ------- | ------------------------------------------------------------------------------------------------------------- |
| Boolean | A literal `bool` value. |
| Number | A literal `number` value. |
| String | Parsed as a [string template][] and then evaluated as described below. |
| Object | Each property value is mapped per this table, producing an `object(...)` value with suitable attribute types. |
| Array | Each element is mapped per this table, producing a `tuple(...)` value with suitable element types. |
| Null | A literal `null`. |
[string template]: /docs/language/expressions/strings#string-templates
| JSON | OpenTofu Language Interpretation |
|---------|-------------------------------------------------------------------------------------------------------------------|
| Boolean | A literal `bool` value. |
| Number | A literal `number` value. |
| String | Parsed as a [string template](../expressions/strings.mdx#string-templates) and then evaluated as described below. |
| Object | Each property value is mapped per this table, producing an `object(...)` value with suitable attribute types. |
| Array | Each element is mapped per this table, producing a `tuple(...)` value with suitable element types. |
| Null | A literal `null`. |
When a JSON string is encountered in a location where arbitrary expressions are
expected, its value is first parsed as a [string template][]