From 61fea1be4463fd1ad9182d767287ecf7d6044fc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tantek=20=C3=87elik?= Date: Fri, 18 Oct 2024 13:07:10 -0700 Subject: [PATCH] update /standards/types to /standards/types/ per linkchecker warning (#2937) --- bikeshed/metadata.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bikeshed/metadata.py b/bikeshed/metadata.py index 6e4c3c2a25..b09152b2a5 100644 --- a/bikeshed/metadata.py +++ b/bikeshed/metadata.py @@ -356,25 +356,25 @@ def fillTextMacros(self, macros: t.DefaultDict[str, str], doc: t.SpecT) -> None: statusName = doc.doctype.status.name if statusName == "FPWD": macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/W3C-WD" - macros["w3c-status-url"] = "https://www.w3.org/standards/types#FPWD" + macros["w3c-status-url"] = "https://www.w3.org/standards/types/#FPWD" elif statusName in ("NOTE-FPWD", "NOTE-WD"): macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/W3C-DNOTE" - macros["w3c-status-url"] = "https://www.w3.org/standards/types#DNOTE" + macros["w3c-status-url"] = "https://www.w3.org/standards/types/#DNOTE" elif statusName == "FINDING": macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/W3C-NOTE" - macros["w3c-status-url"] = "https://www.w3.org/standards/types#FINDING" + macros["w3c-status-url"] = "https://www.w3.org/standards/types/#FINDING" elif statusName == "CG-DRAFT": macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/cg-draft" - macros["w3c-status-url"] = "https://www.w3.org/standards/types#CG-DRAFT" + macros["w3c-status-url"] = "https://www.w3.org/standards/types/#CG-DRAFT" elif statusName == "CG-FINAL": macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/cg-final" - macros["w3c-status-url"] = "https://www.w3.org/standards/types#CG-FINAL" + macros["w3c-status-url"] = "https://www.w3.org/standards/types/#CG-FINAL" elif statusName == "NOTE-ED": macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/W3C-ED" - macros["w3c-status-url"] = "https://www.w3.org/standards/types#ED" + macros["w3c-status-url"] = "https://www.w3.org/standards/types/#ED" else: macros["w3c-stylesheet-url"] = f"https://www.w3.org/StyleSheets/TR/2021/W3C-{statusName}" - macros["w3c-status-url"] = f"https://www.w3.org/standards/types#{statusName}" + macros["w3c-status-url"] = f"https://www.w3.org/standards/types/#{statusName}" if self.customWarningText is not None: macros["customwarningtext"] = parsedTextFromRawLines( self.customWarningText,