Skip to content

Commit 2f00226

Browse files
authored
Move IDL version details (#189)
1 parent 23475c0 commit 2f00226

File tree

4 files changed

+18
-13
lines changed

4 files changed

+18
-13
lines changed

README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,8 @@ definitions:
6767
the number of breaking changes. This is currently WIP and some members may be
6868
added or removed.
6969

70-
## Web IDL version
70+
### Generation
7171

72-
Based on:
73-
74-
<!-- START updated by tool/update_bindings.dart. Do not modify by hand -->
75-
- @webref/idl [3.43.1](https://www.npmjs.com/package/@webref/idl/v/3.43.1)
76-
- @webref/css [6.11.0](https://www.npmjs.com/package/@webref/css/v/6.11.0)
77-
<!-- END updated by tool/update_bindings.dart. Do not modify by hand -->
78-
79-
For instructions on re-generating the DOM bindings, see the
80-
[generator docs](tool/generator/README.md).
72+
Most of the APIs in this package are generated from public assets.
73+
See the [tool directory](https://github.com/dart-lang/web/tree/main/tool) in the
74+
source repository to learn more.

third_party/mdn/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ See [LICENSE] for the license this content is under.
1010

1111
## Process
1212

13-
See [../../tool/scrape_mdn.dart] for the script which collects the
14-
documentation information.
13+
See [the script](../../tool/scrape_mdn.dart) which collects the documentation
14+
information.

tool/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
## Web IDL version
2+
3+
Based on:
4+
5+
<!-- START updated by tool/update_bindings.dart. Do not modify by hand -->
6+
- @webref/idl [3.43.1](https://www.npmjs.com/package/@webref/idl/v/3.43.1)
7+
- @webref/css [6.11.0](https://www.npmjs.com/package/@webref/css/v/6.11.0)
8+
<!-- END updated by tool/update_bindings.dart. Do not modify by hand -->
9+
10+
For instructions on re-generating the DOM bindings, see the
11+
[generator docs](generator/README.md).

tool/update_bindings.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ $_usage''');
9393

9494
// Update readme.
9595
final readmeFile = File(
96-
p.normalize(p.join(_bindingsGeneratorPath, '..', '..', 'README.md')),
96+
p.normalize(p.join(_bindingsGeneratorPath, '..', 'README.md')),
9797
);
9898

9999
final sourceContent = readmeFile.readAsStringSync();

0 commit comments

Comments
 (0)