From 59105431b1214c4ecf7f12a44ef7802c0bc4038f Mon Sep 17 00:00:00 2001 From: Yoav Weiss Date: Fri, 13 Mar 2026 09:13:16 +0100 Subject: [PATCH] Fix Bikeshed API endpoint in Makefile The api.csswg.org/bikeshed/ endpoint is no longer reliable. Migrate to www.w3.org/publications/spec-generator/ with the required type=bikeshed-spec and output=html parameters. See https://github.com/w3c/spec-prod/issues/227#issuecomment-4049021313 --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 82261c48b1..3f468ac79c 100644 --- a/Makefile +++ b/Makefile @@ -30,12 +30,14 @@ ci: out/index.html out/index.html: index.bs mkdir -p out - @ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \ + @ (HTTP_STATUS=$$(curl https://www.w3.org/publications/spec-generator/ \ --output $@ \ --write-out "%{http_code}" \ --header "Accept: text/plain, text/html" \ -F die-on=nothing \ - -F file=@$<) && \ + -F file=@$< \ + -F type=bikeshed-spec \ + -F output=html) && \ [[ "$$HTTP_STATUS" -eq "200" ]]) || ( \ echo ""; cat $@; echo ""; \ $(RM) -r out; \