W3C home > Mailing lists > Public > public-audio@w3.org > July to September 2017

PR Preview now working on webaudio/web-audio-api

From: Paul Adenot <padenot@mozilla.com>
Date: Mon, 25 Sep 2017 10:34:42 +0200
Message-ID: <CANWt0Womp-Ewi+71-Nc8iOU+M_zZgJP7Aw+RJo+x7bZfwO6ZmQ@mail.gmail.com>
To: "public-audio@w3.org Group" <public-audio@w3.org>
All,

Thanks to Raymond that has done all the hard work to have us using the
w3-hosted version of ReSpec, we now have PR Preview and diff integrated
into the Web Audio API spec:

Let's take a recent PR from Raymond as an example: two new links are added
into messages:


​
​
Clicking the "Preview" link, we have a preview of the text with the PR
applied, with a helpful warning at the bottom:


​
​
Clicking the diff shows the spec text again, with inline deleted/added
markup (again on Raymond's PR above):

[image: Inline image 1]
​
This is automatic, and saves us from using rawgit manually each time.

Huge thanks to Tobie Langel for doing this and explaining me how to
integrate it (it was dead simple). Technically, this is made possible by
[0], using a couple other web services to render and diff specs. If we end
up switching to bikeshed, this will keep working (pr-preview was originally
only supporting bikeshed).

Cheers,
Paul.

[0]: https://github.com/tobie/pr-preview


Screenshot-2017-9-25_WebAudio_web-audio-api.png
(image/png attachment: Screenshot-2017-9-25_WebAudio_web-audio-api.png)

Screenshot-2017-9-25_Web_Audio_API.png
(image/png attachment: Screenshot-2017-9-25_Web_Audio_API.png)

Screenshot-2017-9-25_Web_Audio_API_1_.png
(image/png attachment: Screenshot-2017-9-25_Web_Audio_API_1_.png)

Screenshot-2017-9-25_WebAudio_web-audio-api.png
(image/png attachment: 04-Screenshot-2017-9-25_WebAudio_web-audio-api.png)

Received on Monday, 25 September 2017 08:35:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 25 September 2017 08:35:28 UTC