From deb5cd8ebfb13ff6247a15fce8c4ad44f53d65cb Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Thu, 9 May 2024 20:41:17 -0400 Subject: [PATCH] updates for contributing sidebar Signed-off-by: Rui Chen --- runatlantis.io/.vitepress/sidebars.ts | 36 +++++++++---------- .../README.md => contributing.md} | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) rename runatlantis.io/{contributing/README.md => contributing.md} (78%) diff --git a/runatlantis.io/.vitepress/sidebars.ts b/runatlantis.io/.vitepress/sidebars.ts index 0e6f95d7f3..4de8b17b7a 100644 --- a/runatlantis.io/.vitepress/sidebars.ts +++ b/runatlantis.io/.vitepress/sidebars.ts @@ -14,6 +14,7 @@ const en = [ items: [ { text: "Installing Atlantis", + collapsed: true, items: [ { text: "Installing Guide", link: "/docs/installation-guide" }, { text: "Requirements", link: "/docs/requirements" }, @@ -26,6 +27,7 @@ const en = [ }, { text: "Configuring Atlantis", + collapsed: true, items: [ { text: "Overview", link: "/docs/configuring-atlantis" }, "/docs/configuring-atlantis", @@ -48,6 +50,7 @@ const en = [ }, { text: "Using Atlantis", + collapsed: true, items: [ { text: "Overview", link: "/docs/using-atlantis" }, "/docs/api-endpoints", @@ -55,6 +58,7 @@ const en = [ }, { text: 'How Atlantis Works', + collapsed: true, items: [ { text: 'Overview', @@ -68,38 +72,34 @@ const en = [ }, { text: 'Real-time Terraform Logs', + collapsed: true, items: [ '/docs/streaming-logs', ] }, { text: 'Troubleshooting', + collapsed: true, items: [ '/docs/troubleshooting', ] }, + ], + }, + { + text: "Contributing", + link: "/contributing", + collapsed: false, + items: [ { - text: 'Upgrading Atlantis', - items: [ - '/docs/upgrading-atlantis', - ] - }, - { - text: 'Contributing to Atlantis', + text: 'Implementation Details', items: [ - '/docs/contributing', + {text: "Events Controller", link: "/contributing/events-controller"}, ] }, - ], - '/contributing/': [ - { - text: 'Implementation Details', - children: [ - '/contributing/events-controller', - ] - }, - '/contributing/glossary', - ], + {text: "Glossry", link: "/contributing/glossary"}, + ] + } ]; diff --git a/runatlantis.io/contributing/README.md b/runatlantis.io/contributing.md similarity index 78% rename from runatlantis.io/contributing/README.md rename to runatlantis.io/contributing.md index b0449399cb..7e22cd0805 100644 --- a/runatlantis.io/contributing/README.md +++ b/runatlantis.io/contributing.md @@ -11,4 +11,4 @@ If you're new, check out the [Guide](../guide/README.md) or the ### Next Steps -- [Events Controller](events-controller.md)  –  How do the events work? +- [Events Controller](./contributing/events-controller.md)  –  How do the events work?