act-rules / act-rules-web

Source for ACT Rules website
https://act-rules.github.io/
Other
3 stars 5 forks source link

Handle "deprecated" tag in meta-data #226

Open Jym77 opened 3 years ago

Jym77 commented 3 years ago

Not fully clear how to do so. My idea was to have a multiline:

deprecated: |
  This rule is deprecated because of some reason

that could be copied in various places as we feel is needed.

Other solutions could also work.

See https://github.com/act-rules/act-rules.github.io/pull/1538 for an example.

Also, we might want to test that when a "deprecated" tag is present, the rule name starts with "DEPRECATED" (this is maybe more of a content test than a website test).