From cd683b8dd6200e214f3a525f435abe9a6fd9faeb Mon Sep 17 00:00:00 2001 From: innovaker <66737976+innovaker@users.noreply.github.com> Date: Mon, 19 Oct 2020 21:41:57 +0100 Subject: [PATCH] chore(docs): Replace homePageId with slug: / Fix warning ... The docs plugin option homePageId=intro is deprecated. To make a doc the "home", prefer frontmatter: "slug: /" Follow-up to #286. --- docs/docs/intro.md | 1 + docs/docusaurus.config.js | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/intro.md b/docs/docs/intro.md index 60fe0d22..e8810a5d 100644 --- a/docs/docs/intro.md +++ b/docs/docs/intro.md @@ -2,6 +2,7 @@ id: intro title: Introduction to ZMK sidebar_label: Introduction +slug: / --- ZMK Firmware is an open source (MIT) keyboard diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index 64f9a454..9ebb9c63 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -102,7 +102,6 @@ module.exports = { { docs: { // It is recommended to set document id as docs home page (`docs/` path). - homePageId: "intro", sidebarPath: require.resolve("./sidebars.js"), // Please change this to your repo. editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/",