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: '集群搭建',