Skip to content

Commit 37c0e6f

Browse files
authored
Turn Web IDL into a Living Standard
Helps with #1016. Closes #955.
1 parent 60a2cbf commit 37c0e6f

10 files changed

+588
-249
lines changed

.editorconfig

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
indent_size = 2
8+
indent_style = space
9+
trim_trailing_whitespace = true
10+
max_line_length = 100
11+
12+
[Makefile]
13+
indent_style = tab
14+
15+
[*.bs]
16+
indent_size = 1
17+
18+
[*.py]
19+
indent_size = 4

.gitattributes

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
* text=auto
2+
*.bs diff=html linguist-language=HTML

.github/workflows/build.yml

+17-13
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,29 @@ name: Build
22
on:
33
pull_request:
44
branches:
5-
- master
5+
- main
66
push:
77
branches:
8-
- master
8+
- main
99
jobs:
1010
build:
1111
name: Build
12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-20.04
1313
steps:
1414
- uses: actions/checkout@v2
15-
- uses: actions/setup-node@v1
1615
with:
17-
node-version: 16
18-
- run: npm install
19-
- name: Build
20-
run: make ci
21-
- name: Deploy
22-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
23-
uses: peaceiris/actions-gh-pages@v3
16+
fetch-depth: 2
17+
# Note: `python` will also be this version, which various scripts depend on.
18+
- uses: actions/setup-python@v2
19+
with:
20+
python-version: 3.8
21+
- uses: actions/setup-node@v2
2422
with:
25-
github_token: ${{ secrets.GITHUB_TOKEN }}
26-
publish_dir: ./out
23+
node-version: 14
24+
- run: npm install
25+
# Note: `make deploy` will do a deploy dry run on PRs.
26+
- run: make deploy
27+
env:
28+
SERVER: ${{ secrets.MARQUEE_SERVER }}
29+
SERVER_PUBLIC_KEY: ${{ secrets.MARQUEE_PUBLIC_KEY }}
30+
SERVER_DEPLOY_KEY: ${{ secrets.MARQUEE_DEPLOY_KEY }}

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/out/
2-
index.ids
3-
index.html
1+
/webidl.spec.whatwg.org/
2+
/deploy.sh
3+
/index.html
4+
/review.sh
45
/node_modules/

.pr-preview.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
2-
"src_file": "index.bs",
3-
"type": "bikeshed",
4-
"post_processing": {
5-
"name": "webidl-grammar"
6-
}
2+
"src_file": "index.bs",
3+
"type": "bikeshed",
4+
"params": {
5+
"force": 1,
6+
"md-status": "LS-PR",
7+
"md-Text-Macro": "PR-NUMBER {{ pull_request.number }}"
8+
}
79
}

0 commit comments

Comments
 (0)