From 2b3a918f366177ea176f5c4d540d9b198486c813 Mon Sep 17 00:00:00 2001 From: Rachel Whitton Date: Thu, 17 Oct 2024 13:47:49 -0500 Subject: [PATCH] fixup terminus template and submenu --- .../omniSidebarNav/submenus/terminus.js | 46 +++++++++++-------- src/templates/terminuspage.js | 9 +--- 2 files changed, 28 insertions(+), 27 deletions(-) diff --git a/src/components/omniSidebarNav/submenus/terminus.js b/src/components/omniSidebarNav/submenus/terminus.js index 6a3025e7aa..c876c43013 100644 --- a/src/components/omniSidebarNav/submenus/terminus.js +++ b/src/components/omniSidebarNav/submenus/terminus.js @@ -6,26 +6,32 @@ const terminus = () => { title: 'Terminus', children: [ // @todo, copy the order from the terminus template - simpleLink('/terminus'), - simpleLink('/terminus-demo'), - simpleLink('/terminus-drupal-site-management'), - simpleLink('/terminus-overview'), - simpleLink('/terminus/ci/bitbucket'), - simpleLink('/terminus/ci/circleci'), - simpleLink('/terminus/ci/github-actions'), - simpleLink('/terminus/ci/gitlab'), - simpleLink('/terminus/commands'), - simpleLink('/terminus/configuration'), - simpleLink('/terminus/create'), - simpleLink('/terminus/directory'), - simpleLink('/terminus/examples'), - simpleLink('/terminus/install'), - simpleLink('/terminus/plugins'), - simpleLink('/terminus/scripting'), - simpleLink('/terminus/supported-terminus'), - simpleLink('/terminus/terminus-3-0'), - simpleLink('/terminus/updates'), - simpleLink('/machine-tokens'), + + simpleLink('/terminus', "Terminus User Manual", + [ + simpleLink('/terminus', "Introduction"), + simpleLink('/terminus/install', "Install and Update Terminus"), + simpleLink('/terminus/examples', "Get Started"), + simpleLink('/terminus/commands', "Command Directory"), + simpleLink('/terminus/scripting', "Scripting with Terminus"), + simpleLink('/terminus/plugins', "Install Plugins"), + simpleLink('/terminus/directory', "Plugin Directory"), + simpleLink('/terminus/create', "Create Terminus Plugins"), + simpleLink('/terminus/configuration', "Terminus Configuration File"), + simpleLink('/terminus/supported-terminus', "Supported Terminus and PHP Versions"), + simpleLink('/terminus/updates', "Current Terminus Release, Changelog, and Updates"), + simpleLink('/terminus/terminus-3-0', "Terminus 3"), + ] + + ), + simpleLink('/terminus-demo', "Introduction to Terminus"), + simpleLink('/terminus-drupal-site-management', "Using Terminus to Create and Update Drupal Sites on Pantheon"), + simpleLink('/terminus-overview', "Terminus Overview"), + simpleLink('/terminus/ci/bitbucket', "Authenticate Terminus in a Bitbucket CI Pipeline"), + simpleLink('/terminus/ci/circleci', "Authenticate Terminus in a CircleCI Pipeline"), + simpleLink('/terminus/ci/github-actions', "Authenticate Terminus in a GitHub Actions Pipeline"), + simpleLink('/terminus/ci/gitlab', "Authenticate Terminus in a GitLab Pipeline"), + simpleLink('/machine-tokens', "Creating and Revoking Machine Tokens"), ] } diff --git a/src/templates/terminuspage.js b/src/templates/terminuspage.js index 1b6775679d..43c7025a86 100644 --- a/src/templates/terminuspage.js +++ b/src/templates/terminuspage.js @@ -139,11 +139,10 @@ class TerminusTemplate extends React.Component { reviewed={ifCommandsISO} type={node.frontmatter.type} /> - @@ -156,10 +155,6 @@ class TerminusTemplate extends React.Component {
- -