Skip to content

Commit

Permalink
websites/apidocx/docs.ps1: Set the $env:LuceneNetVersion environment …
Browse files Browse the repository at this point in the history
…variable so our plugin recognizes it
  • Loading branch information
NightOwl888 committed Nov 18, 2020
1 parent 03d7813 commit 93c3f9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions websites/apidocs/docs.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ if ($BaseUrl -eq 'https://lucenenet.apache.org/docs/') {
$BaseUrl = $BaseUrl.TrimEnd('/') # Remove any trailing slash
Write-Host "Base URL for xref map set to $BaseUrl"

# HACK: Our plugin only recognizes the version number through an environment variable,
# so we set it here.
$env:LuceneNetVersion = $LuceneNetVersion

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

$PSScriptFilePath = (Get-Item $MyInvocation.MyCommand.Path).FullName
Expand Down

0 comments on commit 93c3f9c

Please sign in to comment.