ci: fix UTF-8 encoding for Chinese paths in mkdocs build
这个提交包含在:
父节点
d7d27c0738
当前提交
ea9baac347
8
Jenkinsfile
vendored
8
Jenkinsfile
vendored
@ -16,8 +16,12 @@ pipeline {
|
|||||||
|
|
||||||
stage('Build Docs') {
|
stage('Build Docs') {
|
||||||
steps {
|
steps {
|
||||||
bat 'pip3 install mkdocs-material --quiet 2>nul || echo ok'
|
bat '''
|
||||||
bat 'mkdocs build --clean --site-dir site'
|
chcp 65001 > nul
|
||||||
|
set PYTHONIOENCODING=utf-8
|
||||||
|
pip3 install mkdocs-material --quiet 2>nul || echo ok
|
||||||
|
mkdocs build --clean --site-dir site
|
||||||
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户