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:
parent
99751ad376
commit
cd683b8dd6
2 changed files with 1 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
||||||
id: intro
|
id: intro
|
||||||
title: Introduction to ZMK
|
title: Introduction to ZMK
|
||||||
sidebar_label: Introduction
|
sidebar_label: Introduction
|
||||||
|
slug: /
|
||||||
---
|
---
|
||||||
|
|
||||||
ZMK Firmware is an open source (MIT) keyboard
|
ZMK Firmware is an open source (MIT) keyboard
|
||||||
|
|
|
@ -102,7 +102,6 @@ module.exports = {
|
||||||
{
|
{
|
||||||
docs: {
|
docs: {
|
||||||
// It is recommended to set document id as docs home page (`docs/` path).
|
// It is recommended to set document id as docs home page (`docs/` path).
|
||||||
homePageId: "intro",
|
|
||||||
sidebarPath: require.resolve("./sidebars.js"),
|
sidebarPath: require.resolve("./sidebars.js"),
|
||||||
// Please change this to your repo.
|
// Please change this to your repo.
|
||||||
editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/",
|
editUrl: "https://github.com/zmkfirmware/zmk/edit/main/docs/",
|
||||||
|
|
Loading…
Reference in a new issue