-
-
Notifications
You must be signed in to change notification settings - Fork 12
[2.x] Support setting sidebar labels and visibility in docs config #1586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.x] Support setting sidebar labels and visibility in docs config #1586
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## improved-navigation-internals #1586 +/- ##
================================================================
Coverage 99.91% 99.91%
- Complexity 1757 1765 +8
================================================================
Files 183 183
Lines 4754 4773 +19
================================================================
+ Hits 4750 4769 +19
Misses 4 4 ☔ View full report in Codecov by Sentry. |
GPT 4 Turbo generated description and release notes:(Won't be using these, but since I paid for the tokens I might as well comment them here) Pull Request DescriptionTitle: Enhance Navigation Data Factory with Configurable Label Support Description: This pull request introduces enhancements to the Previously, Key Changes:
Motivation: This enhancement was driven by the need for more sophisticated labeling capabilities within projects that utilize HydePHP, catering especially to those with extensive documentation or complex navigation requirements. By distinguishing between different types of navigation contexts (general vs. documentation-specific), this update allows project maintainers and content creators to easily manage and organize their navigation labels in a more structured manner. Testing: Unit tests have been expanded to cover the new methods introduced and ensure that label fetching behaves as expected across different configuration scenarios. The tests validate both the successful retrieval of labels from the configurations and the proper fallback behavior when labels are unspecified. Release NotesHydePHP Framework - Enhanced Navigation Label Support We're excited to announce an update to the HydePHP Framework that significantly enhances the flexibility and control of navigation labeling. This update focuses on improving the organization and management of navigation item labels, especially for projects with complex navigation schemes or extensive documentation. What's New:
Improvements for Project Maintainers:
Upgrading: This update is part of the latest release and is available for immediate use. To take advantage of these new features, ensure that your project is updated to the latest version of the HydePHP Framework. No breaking changes were introduced, but reviewing the updated documentation on navigation configuration is recommended to fully leverage the new capabilities. We hope you find these improvements beneficial for your projects, and as always, we welcome your feedback and contributions to further enhance the HydePHP experience. |
5363ddb to
3431ebe
Compare
For backwards compatibility we keep this desired logic
Further normalizes the configuration API. Targets #1568