From 7eb89fe3f0f313bfe2503fcfc9495af133ac01bf Mon Sep 17 00:00:00 2001 From: sebastienlorber Date: Thu, 16 Mar 2023 16:59:10 +0100 Subject: [PATCH] fix tutorial update --- examples/facebook/docusaurus.config.js | 4 ++-- .../create-docusaurus/templates/classic/docusaurus.config.js | 4 ++-- .../create-docusaurus/templates/facebook/docusaurus.config.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/facebook/docusaurus.config.js b/examples/facebook/docusaurus.config.js index 12290e84cbab..69844a2af9e1 100644 --- a/examples/facebook/docusaurus.config.js +++ b/examples/facebook/docusaurus.config.js @@ -67,8 +67,8 @@ const config = { }, items: [ { - type: 'docSidebar', - sidebarName: 'tutorialSidebar', + type: 'doc', + docId: 'intro', position: 'left', label: 'Tutorial', }, diff --git a/packages/create-docusaurus/templates/classic/docusaurus.config.js b/packages/create-docusaurus/templates/classic/docusaurus.config.js index 33e15a400ef1..d67f3df37769 100644 --- a/packages/create-docusaurus/templates/classic/docusaurus.config.js +++ b/packages/create-docusaurus/templates/classic/docusaurus.config.js @@ -71,8 +71,8 @@ const config = { }, items: [ { - type: 'doc', - docId: 'intro', + type: 'docSidebar', + sidebarId: 'tutorialSidebar', position: 'left', label: 'Tutorial', }, diff --git a/packages/create-docusaurus/templates/facebook/docusaurus.config.js b/packages/create-docusaurus/templates/facebook/docusaurus.config.js index 69844a2af9e1..a6831667510e 100644 --- a/packages/create-docusaurus/templates/facebook/docusaurus.config.js +++ b/packages/create-docusaurus/templates/facebook/docusaurus.config.js @@ -67,8 +67,8 @@ const config = { }, items: [ { - type: 'doc', - docId: 'intro', + type: 'docSidebar', + sidebarId: 'tutorialSidebar', position: 'left', label: 'Tutorial', },