From 747837d14bd375ebd1f0c110ee27d74802cd9aa5 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Mon, 13 Dec 2021 13:31:29 +0200 Subject: [PATCH] util/generate-hugo-content.py: update comment --- util/generate-hugo-content.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/generate-hugo-content.py b/util/generate-hugo-content.py index f657cbe6..989d56d3 100755 --- a/util/generate-hugo-content.py +++ b/util/generate-hugo-content.py @@ -46,8 +46,9 @@ def parseSchema(schema_df): # For example Assurance, Certification, Core, Impact, etc module = row["idss schema module"].capitalize() - # Generate a URL-safe version of the element name, though we need to - # think about what field we want to use here. + # Generate a "safe" version of the element name for use in URLs and + # files by combining the cluster and the element name. This could + # change in the future. element_name_safe = cluster.replace(" ", "-").lower() + "-" + element_name print(f"element name: {element_name_safe}")