Skip to content

Commit c638d9f

Browse files
Use singular name for doc and add dartdoc_options (#1657)
1 parent c71ddeb commit c638d9f

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

pkgs/jnigen/dartdoc_options.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
dartdoc:
2+
categories:
3+
"Implementing Java interfaces from Dart":
4+
markdown: doc/interface_implementation.md
5+
name: "Interface Implementation"
6+
"Syntactic and semantic differences between Java and the generated Dart bindings":
7+
markdown: doc/java_differences.md
8+
name: "Java Differences"

pkgs/jnigen/docs/interface_implementation.md renamed to pkgs/jnigen/doc/interface_implementation.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
## Implementing Java interfaces from Dart
22

3-
> [!NOTE]
4-
> This feature is experimental, and in
5-
> [active development](https://github.com/dart-lang/native/issues/1569).
6-
>
7-
> To opt in to use this feature, add the following to your JNIgen configuration
8-
> yaml:
9-
>
10-
> ```yaml
11-
> enable_experiment:
12-
> - interface_implementation
13-
> ```
14-
153
Let's take a simple Java interface like `Runnable` that has a single `void`
164
method called `run`:
175

0 commit comments

Comments
 (0)