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::