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.
This commit is contained in:
innovaker 2020-10-19 21:41:57 +01:00
parent 99751ad376
commit cd683b8dd6
2 changed files with 1 additions and 1 deletions

View File

@ -2,6 +2,7 @@
id: intro
title: Introduction to ZMK
sidebar_label: Introduction
slug: /
---
ZMK Firmware is an open source (MIT) keyboard

View File

@ -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/",