Skip to content

Commit

Permalink
add back link to changelog html
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinitou committed Feb 19, 2023
1 parent eef7c71 commit 2db8370
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion generate_release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ if($docAsMarkdown && $changelogAsMarkdown) {
$helpCssFileName = "help.css"
Copy-Item -Path "$docSourceDir\$helpCssFileName" -Destination "$htmlResourceTargetDir\$helpCssFileName"
# changelog HTML sub-page
$backLinkHtml = "<a href=`"javascript:history.back()
`">< Back</a>"
$changelogHtmlHeadSection = GenerateHtmlHeadSection -Title "Changelog" -RelativeCssPath "./help.css"
$changelogHtmlHeadSection + $changelogAsMarkdown.Html | Out-File -Encoding utf8 "$htmlResourceTargetDir\changelog.html"
$changelogHtmlHeadSection + $backLinkHtml + $changelogAsMarkdown.Html | Out-File -Encoding utf8 "$htmlResourceTargetDir\changelog.html"
}

$sourceDir = ".\src"
Expand Down

0 comments on commit 2db8370

Please sign in to comment.