From cf152d67c77a1d1b873a952162f981974b447248 Mon Sep 17 00:00:00 2001 From: sbussetti Date: Mon, 10 Dec 2018 13:29:50 -0500 Subject: 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 --- doc/source/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/source/conf.py') 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'] -- cgit