websites/apidocs/docs.ps1: Trim any trailing slash from $BaseUrl
diff --git a/websites/apidocs/docs.ps1 b/websites/apidocs/docs.ps1
index 5fab410..286655c 100644
--- a/websites/apidocs/docs.ps1
+++ b/websites/apidocs/docs.ps1
@@ -38,6 +38,7 @@
if ($BaseUrl -eq 'https://lucenenet.apache.org/docs/') {
$BaseUrl += $LuceneNetVersion
}
+$BaseUrl = $BaseUrl.TrimEnd('/') # Remove any trailing slash
Write-Host "Base URL for xref map set to $BaseUrl"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12