Skip to content

Commit

Permalink
[docs-infra] Fix GitHub source link redirection (mui#43534)
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Aug 31, 2024
1 parent 2d876c4 commit abbfbd5
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,14 +107,13 @@ export function ComponentLinkHeader(props: ComponentLinkHeaderProps) {
size="small"
variant="outlined"
rel="nofollow"
href={`${process.env.SOURCE_CODE_REPO}/blob/v${process.env.LIB_VERSION}/${headers.githubSource}`}
href={`${process.env.SOURCE_CODE_REPO}/tree/v${process.env.LIB_VERSION}/${headers.githubSource}`}
icon={<GitHubIcon />}
data-ga-event-category="ComponentLinkHeader"
data-ga-event-action="click"
data-ga-event-label="Source"
data-ga-event-split="0.1"
label="Source"
target="_blank"
/>
</li>
) : null}
Expand Down

0 comments on commit abbfbd5

Please sign in to comment.