Skip to content

Commit

Permalink
Move IDL version details (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevmoo authored Feb 28, 2024
1 parent 23475c0 commit 2f00226
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 13 deletions.
14 changes: 4 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,8 @@ definitions:
the number of breaking changes. This is currently WIP and some members may be
added or removed.

## Web IDL version
### Generation

Based on:

<!-- START updated by tool/update_bindings.dart. Do not modify by hand -->
- @webref/idl [3.43.1](https://www.npmjs.com/package/@webref/idl/v/3.43.1)
- @webref/css [6.11.0](https://www.npmjs.com/package/@webref/css/v/6.11.0)
<!-- END updated by tool/update_bindings.dart. Do not modify by hand -->

For instructions on re-generating the DOM bindings, see the
[generator docs](tool/generator/README.md).
Most of the APIs in this package are generated from public assets.
See the [tool directory](https://github.com/dart-lang/web/tree/main/tool) in the
source repository to learn more.
4 changes: 2 additions & 2 deletions third_party/mdn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ See [LICENSE] for the license this content is under.

## Process

See [../../tool/scrape_mdn.dart] for the script which collects the
documentation information.
See [the script](../../tool/scrape_mdn.dart) which collects the documentation
information.
11 changes: 11 additions & 0 deletions tool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Web IDL version

Based on:

<!-- START updated by tool/update_bindings.dart. Do not modify by hand -->
- @webref/idl [3.43.1](https://www.npmjs.com/package/@webref/idl/v/3.43.1)
- @webref/css [6.11.0](https://www.npmjs.com/package/@webref/css/v/6.11.0)
<!-- END updated by tool/update_bindings.dart. Do not modify by hand -->

For instructions on re-generating the DOM bindings, see the
[generator docs](generator/README.md).
2 changes: 1 addition & 1 deletion tool/update_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $_usage''');

// Update readme.
final readmeFile = File(
p.normalize(p.join(_bindingsGeneratorPath, '..', '..', 'README.md')),
p.normalize(p.join(_bindingsGeneratorPath, '..', 'README.md')),
);

final sourceContent = readmeFile.readAsStringSync();
Expand Down

0 comments on commit 2f00226

Please sign in to comment.