Skip to content

Commit

Permalink
Testing structure
Browse files Browse the repository at this point in the history
Signed-off-by: Janos <[email protected]>
  • Loading branch information
Janos committed May 6, 2024
1 parent 80a3a2a commit d09c15c
Show file tree
Hide file tree
Showing 7 changed files with 91 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,24 @@ const config: Config = {
],

plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'getting-started',
path: 'getting-started',
routeBasePath: 'getting-started',
sidebarPath: './getting-started/sidebars.json',
},
],
[
'@docusaurus/plugin-content-docs',
{
id: 'download',
path: 'download',
routeBasePath: 'download',
sidebarPath: './download/sidebars.json',
},
],
"./plugins/blog-plugin",
function tailwindPlugin() {
return {
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions download/sidebars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"download": [
{
"type": "autogenerated",
"dirName": "."
}
]
}
4 changes: 4 additions & 0 deletions getting-started/chapter1/deb.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
sidebar_label: ".deb-based systems"
sidebar_position: 1
---
41 changes: 41 additions & 0 deletions getting-started/chapter1/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
---
sidebar_label: "Chapter 1: Setting up OpenTofu"
sidebar_position: 2
---

# Chapter 1: Setting up OpenTofu

OpenTofu is a single, static binary. This means you can download the .zip/.tar.gz file [from GitHub](https://github.com/opentofu/opentofu/releases) and use it out of the box, no installation is required. However, we maintain a list of [installation methods](/download/) that allow you to easily update your OpenTofu installation in the future.

To get started, please select your operating system below.

import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

<Tabs>
<TabItem value="linux" label="Linux" default>
<Tabs>
<TabItem value="deb" label={<span>.deb-based systems<br /><small>(Debian & derivatives)</small></span>} default>

</TabItem>
<TabItem value="rpm" label={<span>.rpm-based systems<br /><small>(RHEL, SUSE, etc)</small></span>}>

</TabItem>
<TabItem value="alpine" label="Alpine Linux">

</TabItem>
<TabItem value="other" label="Other distributions">

</TabItem>
</Tabs>
</TabItem>
<TabItem value="Windows" label="Windows">
Windows
</TabItem>
<TabItem value="MacOS" label="MacOS">
MacOS
</TabItem>
<TabItem value="UNIX/BSD" label="UNIX/BSD">
Unix/BSD
</TabItem>
</Tabs>
12 changes: 12 additions & 0 deletions getting-started/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
sidebar_label: Overview
sidebar_position: 1
---

# Getting started with OpenTofu

Welcome to OpenTofu! If you are new to OpenTofu or infrastructure-as-code, this section is for you. It is a practical, hands-on introduction to getting your first cloud infrastructure going.

This guide is structured into the following parts:

- [Chapter 1: Setting up OpenTofu](./chapter1/index.mdx)
8 changes: 8 additions & 0 deletions getting-started/sidebars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"guides": [
{
"type": "autogenerated",
"dirName": "."
}
]
}

0 comments on commit d09c15c

Please sign in to comment.