From e942b65ebd9f8cffa649521e6f7214a3491fbe60 Mon Sep 17 00:00:00 2001 From: Harrison Date: Fri, 28 Apr 2023 13:42:38 -0500 Subject: [PATCH] Added '--force' to 'sphinx-apidoc' step --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index fa5569a..0a5cd82 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,7 +21,7 @@ pipeline { stage("build") { steps { 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' publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs/build/html', reportFiles: 'index.html', reportName: 'BMLSA Docs', reportTitles: '']) }