diff --git a/Jenkinsfile b/Jenkinsfile index bd501dd..a766234 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -17,9 +17,10 @@ pipeline { stage('Build Docs') { steps { bat ''' - chcp 65001 > nul + set PYTHONUTF8=1 + set PYTHONIOENCODING=utf-8 pip3 install mkdocs-material --quiet - python -c "import sys; sys.stdout.reconfigure(encoding='utf-8'); import subprocess; subprocess.run([sys.executable, '-X', 'utf8', '-m', 'mkdocs', 'build', '--clean', '--site-dir', 'site'])" + python -m mkdocs build --clean --site-dir site ''' } }