whatwg/html-build

Look into HTML diffs

Closed this issue · 4 comments

Once #103 is fixed we should have another look at integrating with @tobie's tool to provide diffs for changes to the HTML Standard. One way we could do this is offer only diffs for the multipage documents that changed. That will require a somewhat custom setup unfortunately, but I don't think there's a way around that for the HTML Standard at this point.

tobie commented

The main issue is that the hosted html differ crashes on the whole spec.

We either need to fix that or go for the multipage version.

I was thinking we should do multipage only. And even more restrictive, only generate diffs for the pages we know have changed.

The main issue for PR Preview is that it requires quite a bit of custom code. Even the "UI" needs to change as you won't have a single Diff link anymore necessarily.

tobie commented

only generate diffs for the pages we know have changed.

Yes. We need to do a file-by-file comparison of the output. Then send those that were changed to the differ.

Agree this is certainly doable but involved.

tobie commented

So this is done, now.