Skip to content

Commit

Permalink
fix #901: fix link to github repo for edit button
Browse files Browse the repository at this point in the history
  • Loading branch information
shcheklein committed Jan 6, 2020
1 parent 0b607e9 commit f61ea58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function Documentation({ item, headings, markdown, errorCode }) {
return () => Router.events.off('routeChangeComplete', handleRouteChange)
}, [])

const githubLink = `https://github.com/iterative/dvc.org/blob/master${source}`
const githubLink = `https://github.com/iterative/dvc.org/blob/master/public/${source}`

return (
<Page stickHeader={true}>
Expand Down

1 comment on commit f61ea58

@jorgeorpinel
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I just checked again all other dvc.org repo links and all have public/ now. This should be the only one that was missing.

Please sign in to comment.