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: 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(-) (limited to 'docs') diff --git a/docs/docs/intro.md b/docs/docs/intro.md index 60fe0d2..e8810a5 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 64f9a45..9ebb9c6 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/", -- cgit v1.2.3