From 1dc094a59317a755e6ef75ed2449d5203a208f65 Mon Sep 17 00:00:00 2001 From: "Q.hongtao" Date: Tue, 28 Apr 2020 09:19:51 +0800 Subject: [PATCH] Update doc: Using version 3 to update not_operator_support.rst Now part of the document is version 2 syntax, and part of it is version 3. So the document needs to be updated to Syntax 3 to replace Syntax 2. Implements: blueprint doc-upgrade Change-Id: Ic0d312922e4e5e34038ab4fc8d22999d679626eb --- .../contributor/not_operator_support.rst | 279 ++++++--------- .../contributor/not_operator_support_v2.rst | 325 ++++++++++++++++++ doc/source/index.rst | 1 + 3 files changed, 423 insertions(+), 182 deletions(-) create mode 100644 doc/source/contributor/not_operator_support_v2.rst diff --git a/doc/source/contributor/not_operator_support.rst b/doc/source/contributor/not_operator_support.rst index 4b1477ab8..acf797636 100644 --- a/doc/source/contributor/not_operator_support.rst +++ b/doc/source/contributor/not_operator_support.rst @@ -9,6 +9,14 @@ The Templates language supports the "or" and "and" operators at the moment. Many scenarios can't be described by using only those two operators and thus we would like to add support for "not" operator as well. +*Note:* This document refers to Vitrage templates version 3. + +For previous versions, see: + +Version_2_ + +.. _Version_2: https://docs.openstack.org/vitrage/latest/contributor/not_operator_support_v2.html + Template Structure ================== @@ -16,24 +24,26 @@ The template is written in YAML language, with the following structure. :: metadata: - version: