chiark / gitweb /
documentation/python: the feeling when you invert an important condition.
authorVladimír Vondruš <mosra@centrum.cz>
Thu, 29 Aug 2019 08:35:01 +0000 (10:35 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Fri, 30 Aug 2019 14:47:58 +0000 (16:47 +0200)
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
documentation/templates/python/base.html

index 5ef2a7bce2eaa3d5054fb270eaa8e42236ef5edc..2421f08d7843c1033f7e53556861330617811413 100644 (file)
 {#- 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 %}
index b6ca07c6ad480e02ae5c98cd90c44b8776a837b0..ecde3feb8103fc3aa6fc91dc75ea0bb62e43cf76 100644 (file)
 </html>
 {#- 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 %}