From b5b456a47a11765869db7ca6243b8a50f85c5a81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 29 Aug 2019 10:35:01 +0200 Subject: [PATCH] documentation/python: the feeling when you invert an important condition. This was supposed to check that I was always specifying the version. Well, it failed to check, and I failed to specify the version properly in all cases. --- documentation/templates/doxygen/base.html | 2 +- documentation/templates/python/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/templates/doxygen/base.html b/documentation/templates/doxygen/base.html index 5ef2a7bc..2421f08d 100644 --- a/documentation/templates/doxygen/base.html +++ b/documentation/templates/doxygen/base.html @@ -166,4 +166,4 @@ {#- sanity checks for variables that should be always defined -#} {% if FILENAME is not defined %}{{ FILENAME.is_not_defined_the_script_is_broken }}{% endif %} {% if DOXYGEN_VERSION is not defined %}{{ DOXYGEN_VERSION.is_not_defined_the_script_is_broken }}{% endif %} -{% if SEARCHDATA_FORMAT_VERSION is defined %}{{ SEARCHDATA_FORMAT_VERSION.is_not_defined_the_script_is_broken }}{% endif %} +{% if SEARCHDATA_FORMAT_VERSION is not defined %}{{ SEARCHDATA_FORMAT_VERSION.is_not_defined_the_script_is_broken }}{% endif %} diff --git a/documentation/templates/python/base.html b/documentation/templates/python/base.html index b6ca07c6..ecde3feb 100644 --- a/documentation/templates/python/base.html +++ b/documentation/templates/python/base.html @@ -157,4 +157,4 @@ {#- sanity checks for variables that should be always defined -#} {% if URL is not defined %}{{ URL.is_not_defined_the_script_is_broken }}{% endif %} -{% if SEARCHDATA_FORMAT_VERSION is defined %}{{ SEARCHDATA_FORMAT_VERSION.is_not_defined_the_script_is_broken }}{% endif %} +{% if SEARCHDATA_FORMAT_VERSION is not defined %}{{ SEARCHDATA_FORMAT_VERSION.is_not_defined_the_script_is_broken }}{% endif %} -- 2.30.2