Skip to content

Conversation

@pjcollins
Copy link
Member

@pjcollins pjcollins commented Nov 3, 2021

Introduces a new azure-pipelines-apidocs.yaml pipeline that can be
used to update the Mono.Android docs in the xamarin/android-api-docs
repository. We will now only build Mono.Android with generated JavaDoc
xml when running this new pipeline. The pipeline will run the
<UpdateExternalDocumentation/> target and upload the contents of
/android-api-docs/docs/Mono.Android/en/ as a build artifact. These
updated docs can be downloaded for manual review and pull request
creation.

The .NET 6 packs have been updated to include the same Mono.Android.xml
docs that are bundled into the traditional Windows .vsix installer.
These docs are generated from the content of external/android-api-docs
when the <AssembleApiDocs/> installer target is ran.

@pjcollins
Copy link
Member Author

@pjcollins pjcollins marked this pull request as ready for review November 3, 2021 18:14
@pjcollins pjcollins requested a review from jonpryor as a code owner November 3, 2021 18:15
Comment on lines +4 to +5
trigger: none
pr: none
Copy link
Member

Choose a reason for hiding this comment

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

So is the plan to just run this every now and then? Should we make a document that says how to do it?

Copy link
Member Author

@pjcollins pjcollins Nov 3, 2021

Choose a reason for hiding this comment

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

Yeah, my thinking was that every time we get a new binding version or fix something in the javadoc transformation we could use this to build a new set of docs. Eventually the pipeline could create a PR into android-api-docs, but I don't think that's necessary for now (at least not until xamarin/android-api-docs#26 and some other low hanging fixes have landed).

@jonpryor jonpryor merged commit 0503d63 into main Nov 4, 2021
@jonpryor jonpryor deleted the dev/pjc/build-apidocs branch November 4, 2021 17:18
@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 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