Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Community: Guides section #337

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,17 @@ const config: Config = {
],

plugins: [
[
'@docusaurus/plugin-content-docs',
{
id: 'guides',
path: 'guides',
routeBasePath: 'guides',
sidebarPath: false,
disableVersioning: false,
breadcrumbs: true
},
],
function tailwindPlugin() {
return {
name: "tailwindcss",
Expand Down Expand Up @@ -260,6 +271,11 @@ const config: Config = {
label: "FAQs",
position: "left",
},
{
label: "Guides",
href: "/guides",
position: "left",
},
{
to: "/blog",
label: "Blog",
Expand Down
23 changes: 23 additions & 0 deletions guides/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
sidebar_position: 1
sidebar_label: Overview
title: Guides
hide_table_of_contents: true
---

import DocCardList from "@theme/DocCardList";
import DocVersionBadge from "@theme/DocVersionBadge";

# OpenTofu Guides

<DocCardList
items={[
{
type: "link",
href: "understanding-state-files/",
label: "Understanding state files",
description:
"Learn about working with state files in this interactive tutorial.",
},
]}
/>
5 changes: 5 additions & 0 deletions guides/understanding-state-files/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
sidebar_position: 1
sidebar_label: Understanding state files
title: Understanding state files
---
2 changes: 1 addition & 1 deletion opentofu-repo/main
Submodule main updated 336 files