Skip to content

Conversation

@pjcollins
Copy link
Member

The UpdateExternalDocumentation target has been updated to run against
the .NET version of Mono.Android.dll, as we no longer need to generate
docs and doc redirects for the classic installers.

The `UpdateExternalDocumentation` target has been updated to run against
the .NET version of Mono.Android.dll, as we no longer need to generate
docs and doc redirects for the classic installers.
@pjcollins pjcollins marked this pull request as ready for review May 4, 2023 22:26
@pjcollins pjcollins requested a review from jonpryor as a code owner May 4, 2023 22:26
@pjcollins pjcollins requested a review from jpobst May 4, 2023 22:26
@pjcollins
Copy link
Member Author

This fixes the more urgent portion of #7974

@pjcollins
Copy link
Member Author

The issues in the Docs build are already known and tracked in dotnet/java-interop#1071, this should be good to merge.

@pjcollins pjcollins requested a review from jpobst May 9, 2023 19:14
Copy link
Contributor

@jpobst jpobst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The non-API docs changes (jcwgen.dll, generator.dll) look fine to me. I am not familiar with the API docs process, so I'll leave those changes to @jonpryor.


<Target Name="_FindDocSourceFiles">
<ItemGroup>
<_MsxDocSourceFile Include="$(XamarinAndroidSourcePath)external\android-api-docs\**" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should probably be …\android-api-docs\docs\Mono.Android\en, because:

  1. _ExportMsxDoc won't use any of the other files.
  2. It'll be slightly fewer files to glob (8760 vs. 9914)

I do wonder how long it'll take to fill the item group, but I don't know of a better solution…

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I updated this to use the more specific path.

@jonpryor jonpryor merged commit 4e3b406 into main May 10, 2023
@jonpryor jonpryor deleted the dev/pjc/net-doc branch May 10, 2023 20:29
grendello added a commit to grendello/xamarin-android that referenced this pull request May 11, 2023
* main:
  Bump to xamarin/Java.Interop/main@6aedf1c (dotnet#8027)
  [ci] Simplify WearOS Emulator test job. (dotnet#8024)
  [Mono.Android] Generate API docs for .NET Android (dotnet#8007)
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants