Skip to content

Commit

Permalink
Fix status of draft notes (#2176)
Browse files Browse the repository at this point in the history
Draft notes get a new DNOTE status in Process 2021:
https://www.w3.org/pubrules/doc/rules/?profile=DNOTE#docIDThisVersion
  • Loading branch information
tidoust committed Nov 19, 2021
1 parent 2f3032d commit 6cf9175
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bikeshed/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,10 @@ def fillTextMacros(self, macros, doc):
macros["longstatus"] = config.shortToLongStatus[self.status]
else:
macros["longstatus"] = ""
if self.status in ("w3c/LCWD", "w3c/FPWD", "w3c/NOTE-FPWD", "w3c/NOTE-WD"):
if self.status in ("w3c/LCWD", "w3c/FPWD"):
macros["status"] = "WD"
elif self.status in ("w3c/NOTE-FPWD", "w3c/NOTE-WD"):
macros["status"] = "DNOTE"
elif self.status in ("w3c/WG-NOTE", "w3c/IG-NOTE"):
macros["status"] = "NOTE"
elif self.status == "w3c/NOTE-ED":
Expand Down

0 comments on commit 6cf9175

Please sign in to comment.