From: Ailin Nemui Date: Thu, 1 Feb 2018 15:24:10 +0000 (+0100) Subject: add "hidden" attributes to website, test runner and scripts.dmp X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=82df0a61741f96cb567a924cb40b9dcd7d0cc98f;p=irssi-scripts.irssi.org.git add "hidden" attributes to website, test runner and scripts.dmp --- diff --git a/_testing/config.yml b/_testing/config.yml index 33b3b20..f6be8c8 100644 --- a/_testing/config.yml +++ b/_testing/config.yml @@ -15,6 +15,8 @@ scripts_yaml_keys: - modules # explicit - modified + # special + - HIDDEN cpan: broken_tests: - Geo::Weather diff --git a/index.html b/index.html index 177bfa5..3f1e358 100644 --- a/index.html +++ b/index.html @@ -81,6 +81,7 @@ layout: default {% for script in site.data.scripts %} + {% unless script.HIDDEN == "1" %} {{ script.filename }} @@ -99,6 +100,7 @@ layout: default + {% endunless %} {% endfor %} diff --git a/scripts.dmp b/scripts.dmp index 787758e..0c6f204 100644 --- a/scripts.dmp +++ b/scripts.dmp @@ -3,7 +3,7 @@ layout: nil --- {% assign required_attributes = "filename version authors contact name description license" | split: ' ' %} -{% assign optional_attributes = "url commands note modules" | split: ' ' %} +{% assign optional_attributes = "url commands note modules HIDDEN" | split: ' ' %} $scripts = { {% for script in site.data.scripts %}