You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2020/11/18 20:50:40 UTC

[lucenenet] 02/06: fixes baseurl to not have double trailing slashes

This is an automated email from the ASF dual-hosted git repository.

nightowl888 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git

commit 2f67776c984443766c2eb5d92551293e256df1d2
Author: Shannon <sd...@gmail.com>
AuthorDate: Tue Sep 29 12:04:53 2020 +1000

    fixes baseurl to not have double trailing slashes
---
 websites/apidocs/docs.ps1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/websites/apidocs/docs.ps1 b/websites/apidocs/docs.ps1
index f30cc70..a4a1bac 100644
--- a/websites/apidocs/docs.ps1
+++ b/websites/apidocs/docs.ps1
@@ -34,7 +34,7 @@ param (
 
 # if the base URL is the lucene live site default value we also need to include the version
 if ($BaseUrl -eq 'https://lucenenet.apache.org/docs/') {
-    $BaseUrl += $LuceneNetVersion + "/"    
+    $BaseUrl += $LuceneNetVersion
 }
 Write-Host "Base URL for xref map set to $BaseUrl"