From 69050e44e47a4f39ae3421a9a7e2cd16d99be416 Mon Sep 17 00:00:00 2001 From: "Stephen A. Fuqua" Date: Wed, 19 Jun 2024 13:18:17 -0500 Subject: [PATCH] link to Project Tanager --- docusaurus.config.js | 2 +- sidebars.js | 19 ++++++------------- 2 files changed, 7 insertions(+), 14 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 700599f7..5a3fbaa7 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -74,7 +74,7 @@ const config = { {to: '/blog', label: 'Developer Blog', position: 'left'}, { type: 'docSidebar', - sidebarId: 'tutorialSidebar', + sidebarId: 'primarySidebar', position: 'left', label: 'Documentation', }, diff --git a/sidebars.js b/sidebars.js index 33275803..2437b635 100644 --- a/sidebars.js +++ b/sidebars.js @@ -13,21 +13,14 @@ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { - // By default, Docusaurus generates a sidebar from the docs folder structure - tutorialSidebar: [{type: 'autogenerated', dirName: '.'}], - - // But you can create a sidebar manually - /* - tutorialSidebar: [ - 'intro', - 'hello', + primarySidebar: [ + {type: 'autogenerated', dirName: '.'}, { - type: 'category', - label: 'Tutorial', - items: ['tutorial-basics/create-a-document'], - }, + type: 'link', + label: 'Project Tanager', + href: '/Project-Tanager' + } ], - */ }; export default sidebars;