v0.13.0-beta - Documentation sidebar improvements
caendesilva
released this
20 Apr 08:55
·
2759 commits
to master
since this release
About
Adds a configurable table of contents to the documentation page sidebar. By default, heading levels between 2 and 4 are added.
// config/hyde.php
/*
|--------------------------------------------------------------------------
| Documentation Table of Contents Settings
|--------------------------------------------------------------------------
|
| The Hyde Documentation Module comes with a fancy Sidebar that, by default,
| has a Table of Contents included. Here, you can configure its behavior,
| content, look and feel. You can also disable the feature completely.
|
*/
'documentationPageTableOfContents' => [
'enabled' => true,
'minHeadingLevel' => 2,
'maxHeadingLevel' => 4,
'smoothPageScrolling' => true,
]
What's Changed
- Add table of contents to the documentation page sidebar by @caendesilva in #140
Upgrading
Remember to republish the frontend resources and config files
Full Changelog: v0.12.0-beta...v0.13.0-beta