From 3db9f066fecf7184b190a2031bcf4811be4cb97d Mon Sep 17 00:00:00 2001 From: Sam Nolan Date: Mon, 11 Apr 2022 10:37:08 +1000 Subject: [PATCH] Fix dead footer link causing build errors --- packages/website/docusaurus.config.js | 9 ------ packages/website/sidebars.js | 46 +++++++++++++-------------- 2 files changed, 23 insertions(+), 32 deletions(-) diff --git a/packages/website/docusaurus.config.js b/packages/website/docusaurus.config.js index 44821b73..0862d27b 100644 --- a/packages/website/docusaurus.config.js +++ b/packages/website/docusaurus.config.js @@ -95,15 +95,6 @@ const config = { footer: { style: "dark", links: [ - { - title: "Blog", - items: [ - { - label: "Overview", - to: "/docs/Language", - }, - ], - }, { title: "More", items: [ diff --git a/packages/website/sidebars.js b/packages/website/sidebars.js index cbfa1a5f..3e6fcb7d 100644 --- a/packages/website/sidebars.js +++ b/packages/website/sidebars.js @@ -16,36 +16,36 @@ const sidebars = { // By default, Docusaurus generates a sidebar from the docs folder structure tutorialSidebar: [ { - type: 'doc', - id: 'Introduction', - label: 'Introduction' + type: "doc", + id: "Introduction", + label: "Introduction", }, { - type: 'doc', - id: 'Playground', - label: 'Playground' + type: "doc", + id: "Playground", + label: "Playground", }, { - type: 'category', - label: 'Features', + type: "category", + label: "Features", items: [ { - type: 'autogenerated', - dirName: 'Features' - } - ] - }, - { - type: 'category', - label: 'Discussions', - items: [ - { - type: 'autogenerated', - dirName: 'Discussions', + type: "autogenerated", + dirName: "Features", }, - ] - } - ] + ], + }, + { + type: "category", + label: "Discussions", + items: [ + { + type: "autogenerated", + dirName: "Discussions", + }, + ], + }, + ], // But you can create a sidebar manually /*