Skip to content

Commit

Permalink
Update to use the latest ReSpec template
Browse files Browse the repository at this point in the history
* Use latest ReSpec script
* Move contributor names from script to the document
* Add myself to contributor list
* Remove custom JavaScript
* Remove unnecessary section IDs
* Use ReSpec syntax for definitions and references to defined terms
* Remove parameter tables that duplicate the WebIDL
* Remove constructors sections, which otherwise would
   now have been empty
* Use capital MUST consistently
* Add GitHub Actions script to tidy the source document
  • Loading branch information
chrisn authored Apr 26, 2024
1 parent 409df65 commit f4eda80
Show file tree
Hide file tree
Showing 6 changed files with 1,504 additions and 2,149 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tidy document
on:
workflow_dispatch: {}
push:
branches:
- main

jobs:
tidy:
name: Tidy up
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: brew install tidy-html5
- run: tidy -config tidyconfig.txt -o encrypted-media-respec.html encrypted-media-respec.html
- uses: peter-evans/create-pull-request@v6
with:
title: "Tidied up document using tidy-html5"
commit-message: "chore: tidy up index.html"
branch: html-tidy

1 change: 0 additions & 1 deletion W3CTRMANIFEST
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
encrypted-media-respec.html?specStatus=WD;shortName=encrypted-media;useExperimentalStyles=false respec
stack_overview.svg
eme.css
encrypted-media.js
Loading

0 comments on commit f4eda80

Please sign in to comment.