Skip to content

Commit

Permalink
Use singular name for doc and add dartdoc_options (#1657)
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinYousefi authored Oct 14, 2024
1 parent c71ddeb commit c638d9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
8 changes: 8 additions & 0 deletions pkgs/jnigen/dartdoc_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
dartdoc:
categories:
"Implementing Java interfaces from Dart":
markdown: doc/interface_implementation.md
name: "Interface Implementation"
"Syntactic and semantic differences between Java and the generated Dart bindings":
markdown: doc/java_differences.md
name: "Java Differences"
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
## Implementing Java interfaces from Dart

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

Expand Down
File renamed without changes.

0 comments on commit c638d9f

Please sign in to comment.