mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:31:08 +08:00
Merge pull request #13 from storybooks/7-edit-this-page-link
Fix edit this page link
This commit is contained in:
commit
0fbcef04e9
@ -29,7 +29,7 @@ class Container extends React.Component {
|
||||
|
||||
const gitHubRepoUrl = 'https://github.com/storybooks/storybooks.github.io';
|
||||
const docPath = `${selectedCatId}/${selectedSectionId}/${selectedItemId}`;
|
||||
const gitHubRepoDocUrl = `${gitHubRepoUrl}/tree/master/src/docs/${docPath}.js`;
|
||||
const gitHubRepoDocUrl = `${gitHubRepoUrl}/tree/source/src/docs/${docPath}.js`;
|
||||
|
||||
return (
|
||||
<div id="docs-container" className="row">
|
||||
|
Loading…
x
Reference in New Issue
Block a user