Skip to content

Commit 41e44e1

Browse files
committed
Updated how Sphinx is called.
1 parent 13dce0a commit 41e44e1

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

run.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,9 @@ $jobs = @()
117117
if ($livedoc)
118118
{ Write-Host -ForegroundColor DarkYellow "[live][DOC] Building documentation using Sphinx ..."
119119

120-
.\doc\make.bat html --verbose
120+
cd doc
121+
py -3.14 -m sphinx.cmd.build -b html . _build/html --doctree-dir _build/doctrees --jobs auto --warning-file _build/sphinx-warnings.log --verbose
122+
cd ..
121123

122124
Write-Host -ForegroundColor DarkYellow "[live][DOC] Documentation finished"
123125
}
@@ -127,7 +129,8 @@ elseif ($doc)
127129

128130
# Compile documentation
129131
$compileDocFunc = {
130-
.\doc\make.bat html --verbose
132+
cd doc
133+
py -3.14 -m sphinx.cmd.build -b html . _build/html --doctree-dir _build/doctrees --jobs auto --warning-file _build/sphinx-warnings.log --verbose
131134
}
132135
$docJob = Start-Job -Name "Documentation" -ScriptBlock $compileDocFunc
133136
# $jobs += $docJob

0 commit comments

Comments
 (0)