Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the Finding and Draft Finding stylesheet and definition link. #2997

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions bikeshed/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions tests/github/w3ctag/evergreen-web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>The evergreen web</title>
<meta content="FINDING" name="w3c-status">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-NOTE" rel="stylesheet">
<link href="https://www.w3.org/StyleSheets/TR/2021/base.css" rel="stylesheet">
<link href="https://w3ctag.github.io/evergreen-web/" rel="canonical">
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
<meta content="dark light" name="color-scheme">
Expand Down Expand Up @@ -411,7 +411,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1>The evergreen web</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#FINDING">Finding of the TAG</a>, <time class="dt-updated" datetime="1970-01-01">1 January 1970</time></p>
<p id="w3c-state"><a href="https://tag.w3.org/findings/">Finding of the TAG</a>, <time class="dt-updated" datetime="1970-01-01">1 January 1970</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand Down
4 changes: 2 additions & 2 deletions tests/github/w3ctag/promises-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport">
<title>Writing Promise-Using Specifications</title>
<meta content="DRAFT-FINDING" name="w3c-status">
<link href="https://www.w3.org/StyleSheets/TR/2021/W3C-DRAFT-FINDING" rel="stylesheet">
<link href="https://www.w3.org/StyleSheets/TR/2021/base.css" rel="stylesheet">
<link href="https://www.w3.org/2001/tag/doc/promises-guide" rel="canonical">
<link href="https://www.w3.org/2008/site/images/favicon.ico" rel="icon">
<meta content="dark light" name="color-scheme">
Expand Down Expand Up @@ -689,7 +689,7 @@
<div class="head">
<p data-fill-with="logo"><a class="logo" href="https://www.w3.org/"> <img alt="W3C" height="48" src="https://www.w3.org/StyleSheets/TR/2021/logos/W3C" width="72"> </a> </p>
<h1 class="p-name no-ref" id="title">Writing Promise-Using Specifications</h1>
<p id="w3c-state"><a href="https://www.w3.org/standards/types/#DRAFT-FINDING">Draft Finding of the TAG</a>, <time class="dt-updated" datetime="1970-01-01">1 January 1970</time></p>
<p id="w3c-state"><a href="https://tag.w3.org/findings/">Draft Finding of the TAG</a>, <time class="dt-updated" datetime="1970-01-01">1 January 1970</time></p>
<details open>
<summary>More details about this document</summary>
<div data-fill-with="spec-metadata">
Expand Down
Loading