create API docs from docstrings

This commit is contained in:
Lukas Klass 2020-09-09 17:20:05 +02:00
parent 18d414bc58
commit f295400158

1
Jenkinsfile vendored
View File

@ -50,6 +50,7 @@ pipeline {
sh 'rm -f ${SPHINX_DIR}/sphinx-build.log' sh 'rm -f ${SPHINX_DIR}/sphinx-build.log'
// build docs // build docs
sh ''' sh '''
venv/bin/sphinx-apidoc -f -o docs/source/api esbo_etc
venv/bin/sphinx-build \ venv/bin/sphinx-build \
-w ${SPHINX_DIR}/sphinx-build.log \ -w ${SPHINX_DIR}/sphinx-build.log \
-b html ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR} -b html ${SPHINX_DIR}/${SOURCE_DIR} ${SPHINX_DIR}/${BUILD_DIR}