Added '--force' to 'sphinx-apidoc' step
All checks were successful
ydeng/bmlsa/pipeline/head This commit looks good

This commit is contained in:
Harrison Deng 2023-04-28 13:42:38 -05:00
parent 61149b88b7
commit e942b65ebd

2
Jenkinsfile vendored
View File

@ -21,7 +21,7 @@ pipeline {
stage("build") { stage("build") {
steps { steps {
sh "python -m build" sh "python -m build"
sh 'sphinx-apidoc -o docs/source/ src/bmlsa' sh 'sphinx-apidoc -o docs/source/ src/bmlsa --force'
sh 'make -C docs html' sh 'make -C docs html'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'BMLSA Docs', reportTitles: '']) publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'BMLSA Docs', reportTitles: ''])
} }