Skip to content

Commit

Permalink
Meta: enable PR preview and link web-platform-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk authored Mar 21, 2017
1 parent 6ecf595 commit 8f54686
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .pr-preview.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"src_file": "notifications.bs",
"type": "bikeshed",
"params": {
"force": 1,
"md-status": "LS-COMMIT",
"md-h1": "URL <small>(<a href=\"{{ pull_request.html_url }}\">PR #{{ pull_request.number }}</a>)</small>",
"md-warning": "Commit {{ short_sha }} {{ pull_request.head.repo.html_url }}/commit/{{ sha }} replaced by {{ config.ls_url }}",
"md-title": "{{ config.title }} (Pull Request Snapshot #{{ pull_request.number }})",
"md-Text-Macro": "SNAPSHOT-LINK {{ config.back_to_ls_link }}"
},
"ls_url": "https://notifications.spec.whatwg.org/",
"title": "Notifications API Standard",
"back_to_ls_link": "<a href=\"https://notifications.spec.whatwg.org/\" id=\"commit-snapshot-link\">Go to the living standard</a>"
}
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local: notifications.bs
bikeshed notifications.bs notifications.html --md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"
bikeshed spec notifications.bs notifications.html --md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"

remote: notifications.bs
curl https://api.csswg.org/bikeshed/ -f -F [email protected] > notifications.html -F md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"
Expand Down
1 change: 1 addition & 0 deletions notifications.bs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Boilerplate: omit feedback-header, omit conformance
!Commits: <a href="https://github.com/whatwg/notifications/commits">GitHub whatwg/notifications/commits</a>
!Commits: [SNAPSHOT-LINK]
!Commits: <a href="https://twitter.com/notifyapi">@notifyapi</a>
!Tests: <a href=https://github.com/w3c/web-platform-tests/tree/master/notifications>web-platform-tests notifications/</a> (<a href=https://github.com/w3c/web-platform-tests/labels/notifications>ongoing work</a>)
!Translation (non-normative): <span title="Simplified Chinese"><a href=https://w3c-html-ig-zh.github.io/notifications/whatwg/ lang=zh hreflang=zh rel=alternate>简体中文</a></span>
</pre>

Expand Down

0 comments on commit 8f54686

Please sign in to comment.