Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move IDL version details #189

Merged
merged 3 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading