From 4ce19c2f1ae83f1ae24ad64b374901a16b4b18fc Mon Sep 17 00:00:00 2001 From: roc Date: Sat, 7 Oct 2023 15:24:00 +0800 Subject: [PATCH] update at 2023-10-07 15:24:00 --- README.md | 4 ---- giscus.json | 13 +++++++++++++ sidebars.js | 8 +++++++- 3 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 giscus.json diff --git a/README.md b/README.md index 8e4cda0..671ade4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,3 @@ ---- -slug: / ---- - # Kubernetes 实践指南 本书将介绍 Kubernetes 相关实战经验与总结,助你成为一名云原生老司机 😎。 diff --git a/giscus.json b/giscus.json new file mode 100644 index 0000000..7ecc8a5 --- /dev/null +++ b/giscus.json @@ -0,0 +1,13 @@ +{ + "origins": [ + "https://giscus.app", + "https://giscus.vercel.app", + "https://giscus-component.vercel.app" + ], + "originsRegex": [ + "https://giscus-git-([A-z0-9]|-)*giscus\\.vercel\\.app", + "https://giscus-component-git-([A-z0-9]|-)*giscus\\.vercel\\.app", + "http://localhost:[0-9]+" + ], + "defaultCommentOrder": "newest" +} diff --git a/sidebars.js b/sidebars.js index ecd6e6a..6334ece 100644 --- a/sidebars.js +++ b/sidebars.js @@ -15,7 +15,13 @@ /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ const sidebars = { kubernetesSidebar: [ - 'README', + { + type: "doc", + id: "README", + customProps: { + slug: "/" + } + }, { type: 'category', label: '集群搭建',