You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ This serves two purposes:
12
12
### Added
13
13
- Adds a new fancy output for the realtime compiler serve command in https://github.com/hydephp/develop/pull/1444
14
14
- Added support for dot notation in the Yaml configuration files in https://github.com/hydephp/develop/pull/1478
15
+
- Added a config option to customize automatic sidebar navigation group names in https://github.com/hydephp/develop/pull/1481
15
16
16
17
### Changed
17
18
- The `docs.sidebar.footer` config option now accepts a Markdown string to replace the default footer in https://github.com/hydephp/develop/pull/1477
Copy file name to clipboardExpand all lines: docs/creating-content/documentation-pages.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -234,6 +234,23 @@ Link items without an entry here will have fall back to the default priority of
234
234
235
235
See [the chapter in the customization page](customization#navigation-menu--sidebar) for more details. <br>
236
236
237
+
### Automatic sidebar group labels
238
+
239
+
When using the automatic sidebar grouping feature (based on subdirectories), the titles of the groups are generated from the directory names.
240
+
If these are not to your liking, for example if you need to use special characters, you can override them in the Docs configuration file.
241
+
The array key is the directory name, and the value is the label.
242
+
243
+
Please note that this option is not added to the config file by default, as it's not a super common use case. No worries though, just add the following yourself!
244
+
245
+
```php
246
+
// Filepath: config/docs.php
247
+
248
+
'sidebar_group_labels' => [
249
+
'questions-and-answers' => 'Questions & Answers',
250
+
],
251
+
```
252
+
253
+
237
254
### Table of contents settings
238
255
239
256
In the `config/docs.php` file you can configure the behavior, content, and the look and feel of the sidebar table of contents.
0 commit comments