[pull] master from marmelab:master#48
Merged
pull[bot] merged 3 commits intoStars1233:masterfrom Jul 3, 2025
Merged
Conversation
Fix(doc): Update storybook link when switching documentation page
|
Review these changes at https://app.gitnotebooks.com/Stars1233/react-admin/pull/48 |
Reviewer's GuideThis PR refactors the retrieval and usage of the storybook_path meta tag in ra-navigation.js by introducing a constant selector, directly accessing the content, adjusting asset paths, and dynamically updating the meta on content replacement. It also updates documentation by adding a new Developer Portal card, replacing an iframe embed with a linked image, and ensuring the storybook_path meta tag is always rendered in the default layout. Class diagram for refactored storybook_path meta handling in ra-navigation.jsclassDiagram
class ra_navigation_js {
+buildPageToC()
+replaceContent(text)
-STORYBOOK_PATH_META_SELECTOR
-storybookPathMetaContent
}
ra_navigation_js : +buildPageToC() uses STORYBOOK_PATH_META_SELECTOR
ra_navigation_js : +replaceContent(text) updates meta[storybook_path]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.2)
Can you help keep this open source service alive? 💖 Please sponsor : )
Summary by Sourcery
Refactor the documentation site to standardize Storybook metadata handling in navigation scripts and enhance the Demos page with new portal cards and image embeds.
Enhancements:
Documentation: