Skip to content

Commit

Permalink
Fix #4707: Docs: Edit this page links are broken
Browse files Browse the repository at this point in the history
  • Loading branch information
stennie committed Jul 10, 2018
1 parent be45785 commit 02e5db9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/templates/template-doc-layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ export default class DocumentLayout extends React.Component {
const title = markdownRemark.headings.sort((a, b) => a.value.localeCompare(b.value)).map(h => h.value).join(', ');

// TODO add file path to Markdown schema
// NOTE pointing to `docs` until ready for `master`
const editPath = `
https://github.com/keystonejs/keystone/blob/docs/docs/${path}
https://github.com/keystonejs/keystone/blob/master/docs/${path}
`;

return (
Expand Down

0 comments on commit 02e5db9

Please sign in to comment.