Skip to content

Commit

Permalink
Guides section base
Browse files Browse the repository at this point in the history
Signed-off-by: AbstractionFactory <[email protected]>
  • Loading branch information
abstractionfactory committed Oct 30, 2024
1 parent 48b5b49 commit 8f75d27
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 2 deletions.
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

0 comments on commit 8f75d27

Please sign in to comment.