Skip to content

Commit

Permalink
feat(cli): use code view instead of preview in "edit this page" l…
Browse files Browse the repository at this point in the history
…inks
  • Loading branch information
zachkirsch authored Nov 27, 2024
1 parent fa4aa6e commit ef1ee41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/docs-resolver/src/DocsDefinitionResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -911,7 +911,7 @@ function createEditThisPageUrl(

const { owner, repo, branch = "main", host = "https://github.com" } = editThisPage.github;

return `${wrapWithHttps(host)}/${owner}/${repo}/blob/${branch}/fern/${pageFilepath}`;
return `${wrapWithHttps(host)}/${owner}/${repo}/blob/${branch}/fern/${pageFilepath}?plain=1`;
}

function convertAvailability(
Expand Down

0 comments on commit ef1ee41

Please sign in to comment.