diff --git a/doc/contributing_source.md b/doc/contributing_source.md index d62a025f9..f87f42ce6 100644 --- a/doc/contributing_source.md +++ b/doc/contributing_source.md @@ -22,6 +22,7 @@ The script should have the following general structure ```py import datetime from waste_collection_schedule import Collection +from const import Icons TITLE = "My Council" # Title will show up in README.md and info.md DESCRIPTION = "Source script for abc.com" # Describe your source @@ -33,10 +34,10 @@ TEST_CASES = { # Insert arguments for test cases to be used by test_sources.py } API_URL = "https://abc.com/search/" -ICON_MAP = { # Optional: Dict of waste types and suitable mdi icons - "DOMESTIC": "mdi:trash-can", - "RECYCLE": "mdi:recycle", - "ORGANIC": "mdi:leaf", +ICON_MAP = { # Optional: Dict of waste types and suitable icons + "DOMESTIC": Icons.ICON_GENERAL_TRASH, + "RECYCLE": Icons.ICON_RECYCLE, + "ORGANIC": Icond.ICON_COMPOST, } #### Arguments affecting the configuration GUI #### diff --git a/script/check_icon_use.sh b/script/check_icon_use.sh index 936a3c9a9..3d6cd9c7f 100755 --- a/script/check_icon_use.sh +++ b/script/check_icon_use.sh @@ -1,6 +1,6 @@ #!/bin/bash -verbose=false +verbose=true if [ "$1" == "-v" ] then verbose=true @@ -25,7 +25,6 @@ whitelist=( "aha_region_de.py" "ahe_de.py" "alchenstorf_ch.py" - "aliaserviziambientali_it.py" "allerdale_gov_uk.py" "ambervalley_gov_uk.py" "antrimandnewtownabbey_gov_uk.py"