chiark / gitweb /
documentation: add sanity checks for always-defined template variables.
authorVladimír Vondruš <mosra@centrum.cz>
Wed, 17 Jul 2019 18:46:58 +0000 (20:46 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Thu, 18 Jul 2019 09:33:10 +0000 (11:33 +0200)
documentation/templates/doxygen/base.html
documentation/templates/python/base.html

index e06ff8a50a2f65e87e765ecbd05add0db0b23c48..03273ead2b533004b7c5f4d3a53051cf2987216f 100644 (file)
 {% endif %}
 </body>
 </html>
+{#- 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 %}
index 84f373870182790af8746a669c9dcd85401f0d41..a3dd819861062d37e4b45fb4ce0cafad69a87d41 100644 (file)
 {% endif %}
 </body>
 </html>
+{#- sanity checks for variables that should be always defined -#}
+{% if URL is not defined %}{{ URL.is_not_defined_the_script_is_broken }}{% endif %}