diff --git a/docs/configuration.md b/docs/configuration.md
index 5ad0b8958..ad55c93cf 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -109,6 +109,37 @@ window.$docsify = {
Determines if Docsify should handle uncaught _synchronous_ plugin errors automatically. This can prevent plugin errors from affecting docsify's ability to properly render live site content.
+## collapseSidebarGroups
+
+- Type: `Boolean`
+- Default: `false`
+
+Initially collapses all root sidebar groups when `collapsibleSidebarGroups` is
+enabled. Visitors can still expand and collapse each group by selecting its
+title. Their choices are preserved while navigating between pages.
+
+```js
+window.$docsify = {
+ collapseSidebarGroups: true,
+ collapsibleSidebarGroups: true,
+};
+```
+
+## collapsibleSidebarGroups
+
+- Type: `Boolean`
+- Default: `false`
+
+Enables visitors to expand and collapse root sidebar groups by selecting their
+titles or using the Enter and Space keys. Enabling a
+sidebar chevron theme class also displays chevrons on these group titles.
+
+```js
+window.$docsify = {
+ collapsibleSidebarGroups: true,
+};
+```
+
## cornerExternalLinkTarget
- Type: `String`
@@ -306,21 +337,6 @@ window.$docsify = {
};
```
-## collapseSidebarGroups
-
-- Type: `Boolean`
-- Default: `false`
-
-Initially collapses all root sidebar groups. Visitors can still expand and
-collapse each group by selecting its title. Their choices are preserved while
-navigating between pages.
-
-```js
-window.$docsify = {
- collapseSidebarGroups: true,
-};
-```
-
## sidebarPosition
- Type: `String`
diff --git a/docs/index.html b/docs/index.html
index cb9ee980d..c9300f0ad 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -112,6 +112,7 @@
'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@main/$1',
},
auto2top: true,
+ collapsibleSidebarGroups: true,
coverpage: true,
executeScript: true,
// hideSidebar: true,
diff --git a/docs/themes.md b/docs/themes.md
index 6eb436bfd..698ad9055 100644
--- a/docs/themes.md
+++ b/docs/themes.md
@@ -110,6 +110,10 @@ Display a loading animation while waiting for Docsify to initialize.
Display expand/collapse icons on page links in the sidebar.
+Root group titles display chevrons only when
+[`collapsibleSidebarGroups`](configuration.md?id=collapsiblesidebargroups) is
+enabled.
+
@@ -117,6 +121,10 @@ Display expand/collapse icons on page links in the sidebar.
+
+
```html
@@ -128,6 +136,14 @@ Display expand/collapse icons on page links in the sidebar.
` to
+ * `