From b38c5e46acb61605405e14018f6a6b5a39b59f48 Mon Sep 17 00:00:00 2001 From: zaro0508 Date: Fri, 6 Jun 2014 09:55:47 -0700 Subject: [PATCH] re-arrange docs for clarity The info on using list and dict as parameters seemed a little too advanced to be in the description of 'templates'. This change moves this example into a newly created 'advanced' configuration section. Change-Id: I98b80233c45ac721819360743dcae5e82c63ecbf --- doc/source/configuration.rst | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst index f7a516b5a..73479186f 100644 --- a/doc/source/configuration.rst +++ b/doc/source/configuration.rst @@ -123,12 +123,6 @@ define a template that you can use to create jobs with a `Project`_ definition. It's name will depend on what is supplied to the `Project`_. -If you want to use lists or dicts variables you can use ``{obj:key}``. - -For example: - -.. literalinclude:: /../../tests/yamlparser/fixtures/custom_distri.yaml - .. _project: Project @@ -309,6 +303,17 @@ definitions unless they specify a different Default object with the Will set the job description for every job created. +.. _advanced: + +Advanced +^^^^^^^^ + +If you want to use lists or dicts variables you can use ``{obj:key}``. + +For example: + +.. literalinclude:: /../../tests/yamlparser/fixtures/custom_distri.yaml + Modules -------