Skip to content

Commit

Permalink
Fix edit this page link
Browse files Browse the repository at this point in the history
When we moved to github pages, we moved the doc source to `source`
branch, and the `npm run publish` script force pushes the built site to
the `master` branch.
  • Loading branch information
shilman committed Apr 27, 2017
1 parent 717d6ee commit 600ce1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Docs/Container/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit 600ce1f

Please sign in to comment.