From 08a5c21875d67eadd5f771a0c1ee3244505b9e74 Mon Sep 17 00:00:00 2001 From: Kevin Short Date: Thu, 18 Feb 2016 12:58:26 -0500 Subject: [PATCH] Fix building (make) in 'doc' directory Move previously undefined label, fixed by another commit, to a better location. Ensure blank line before examples. Change-Id: I5f294918f41514481c916fda3da7dc0a4c457054 --- jenkins_jobs/modules/properties.py | 4 ++-- jenkins_jobs/modules/publishers.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/jenkins_jobs/modules/properties.py b/jenkins_jobs/modules/properties.py index 753095154..005f59b21 100644 --- a/jenkins_jobs/modules/properties.py +++ b/jenkins_jobs/modules/properties.py @@ -309,6 +309,8 @@ def authorization(parser, xml_parent, data): """yaml: authorization Specifies an authorization matrix + .. _authorization: + :arg list : `` is the name of the group or user, containing the list of rights to grant. @@ -333,8 +335,6 @@ def authorization(parser, xml_parent, data): * **run-update** * **scm-tag** - .. _authorization: - Example: .. literalinclude:: /../../tests/properties/fixtures/authorization.yaml diff --git a/jenkins_jobs/modules/publishers.py b/jenkins_jobs/modules/publishers.py index 443db835b..1990e2cd0 100644 --- a/jenkins_jobs/modules/publishers.py +++ b/jenkins_jobs/modules/publishers.py @@ -5678,6 +5678,7 @@ def slack(parser, xml_parent, data): (default: '/') :arg str room: A comma seperated list of rooms / channels to post the notifications to. (default: '') + Example: .. literalinclude::