From a8e792e2288865db3fa18e0b3a8fe9a1f21cf519 Mon Sep 17 00:00:00 2001 From: Jeffrey Yasskin Date: Fri, 10 Jan 2025 13:02:58 -0800 Subject: [PATCH] Update the Finding and Draft Finding stylesheet and definition link. (#2997) Co-authored-by: Tab Atkins Jr. --- bikeshed/metadata.py | 7 +++++-- tests/github/w3ctag/evergreen-web/index.html | 4 ++-- tests/github/w3ctag/promises-guide/index.html | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/bikeshed/metadata.py b/bikeshed/metadata.py index e4643efac3..72271c7101 100644 --- a/bikeshed/metadata.py +++ b/bikeshed/metadata.py @@ -364,8 +364,11 @@ def fillTextMacros(self, macros: t.DefaultDict[str, str], doc: t.SpecT) -> None: macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/W3C-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-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/base.css" + macros["w3c-status-url"] = "https://tag.w3.org/findings/" + elif statusName == "DRAFT-FINDING": + macros["w3c-stylesheet-url"] = "https://www.w3.org/StyleSheets/TR/2021/base.css" + macros["w3c-status-url"] = "https://tag.w3.org/findings/" 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" diff --git a/tests/github/w3ctag/evergreen-web/index.html b/tests/github/w3ctag/evergreen-web/index.html index 3f65faa0ae..e4e504e589 100644 --- a/tests/github/w3ctag/evergreen-web/index.html +++ b/tests/github/w3ctag/evergreen-web/index.html @@ -4,7 +4,7 @@ The evergreen web - + @@ -411,7 +411,7 @@

The evergreen web

-

Finding of the TAG,

+

Finding of the TAG,

More details about this document
diff --git a/tests/github/w3ctag/promises-guide/index.html b/tests/github/w3ctag/promises-guide/index.html index ce8904b7dd..15605d49b3 100644 --- a/tests/github/w3ctag/promises-guide/index.html +++ b/tests/github/w3ctag/promises-guide/index.html @@ -4,7 +4,7 @@ Writing Promise-Using Specifications - + @@ -689,7 +689,7 @@

Writing Promise-Using Specifications

-

Draft Finding of the TAG,

+

Draft Finding of the TAG,

More details about this document