react-styleguidist: Links don't work anymore for `pagePerSection`
Current behavior
Since 11.0.9 (I suspect because of this PR), when clicking on any component (with pagePerSection: true) the routing goes to #/-?id=ComponentName.
To reproduce
- Configure styleguidist to have
pagePerSection: true - Click on any component.
- The link will resolve to a
Page Not Found.
Expected behavior
Routing to the actual component page, showing the component.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 17 (9 by maintainers)
Commits related to this issue
- fix: Fix links with`pagePerSection` (#1715) Fixes #1702 — committed to styleguidist/react-styleguidist by mitsuruog 4 years ago
Please donโt use the current implementation as the source of how it should work ๐ I also havenโt written any of this code so I canโt say either how it should work.
But for me having each component on its own page looks like the most common use case, and I remember it used to work at some point.
๐ This issue has been resolved in version 11.1.3 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐