diff options
author | sbussetti <steve.bussetti@gmail.com> | 2018-12-10 13:29:50 -0500 |
---|---|---|
committer | sbussetti <steve.bussetti@gmail.com> | 2018-12-10 13:44:14 -0500 |
commit | cf152d67c77a1d1b873a952162f981974b447248 (patch) | |
tree | 93686c116c70fd8c03c18c399bb04f542f7224ea /doc/source/conf.py | |
parent | 02e85408f027f831ef00cb812ea66ddcdd226170 (diff) | |
download | python-jenkins-job-builder-cf152d67c77a1d1b873a952162f981974b447248.tar.gz python-jenkins-job-builder-cf152d67c77a1d1b873a952162f981974b447248.tar.xz python-jenkins-job-builder-cf152d67c77a1d1b873a952162f981974b447248.zip |
Adds named branches to property strategy support
My previous submission added support for property strategy: all branches
get the same properties. This patch adds support for the second of 2
options, "named branches get different properties", which allows for
a default definition of properties + exceptions for individual refspecs
based on their literal branch name. Also includes some re-org of the
existing prop. strat. support in order to DRY up the code for both.
Also adds sphinx.ext.doctest to docs/src/conf.py extensions to allow for
running `make doctest` locally.
Change-Id: Icd143fe25b1e2d5c8d1e7e8b0650d91f40838043
Signed-off-by: sbussetti <steve.bussetti@gmail.com>
Diffstat (limited to 'doc/source/conf.py')
-rw-r--r-- | doc/source/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index 02094e14..08fe56d9 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -30,7 +30,7 @@ sys.path.insert(0, os.path.abspath('../../jenkins_jobs/modules')) # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'jenkins_jobs.sphinx.yaml', 'sphinxcontrib.programoutput', - 'sphinx.ext.extlinks'] + 'sphinx.ext.extlinks', 'sphinx.ext.doctest'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] |