Commit 4b4fedd
authored
[generator] Process Javadoc for nested types (#996)
Fixes: #992
Looking at the latest set of API docs for [a nested type][0] I noticed
that we were missing a lot of content that should have been produced by
the Mono.Android build when translating Javadoc to C# doc comments.
After further investigation, we realized that we were not attempting to
process and translate Javadoc for _any_ nested types.
Fix this oversight by adding a missing Javadoc processing iteration
over each type's nested types.
Additionally, Java documentation URLs for nested types have been fixed
by replacing `$` with `.` in both the URL and text for the URL. This
replaces the previous URL of e.g.
https://developer.android.com/reference/android/accessibilityservice/AccessibilityButtonController$AccessibilityButtonCallback
with:
https://developer.android.com/reference/android/accessibilityservice/AccessibilityButtonController.AccessibilityButtonCallback
[0]: https://github.com/xamarin/android-api-docs/blame/b4084443c0354661e2257eb698e03d3fe1d86f1b/docs/Mono.Android/en/Android.AccessibilityServices/AccessibilityButtonController%2BAccessibilityButtonCallback.xml#L251 parent 7716ae5 commit 4b4fedd
File tree
2 files changed
+6
-2
lines changed- tools/generator
- Java.Interop.Tools.Generator.ObjectModel
- Java.Interop.Tools.Generator.Transformation
2 files changed
+6
-2
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| 260 | + | |
260 | 261 | | |
261 | | - | |
262 | | - | |
| 262 | + | |
| 263 | + | |
263 | 264 | | |
264 | 265 | | |
265 | 266 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
| |||
0 commit comments