This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 471
Generate API documentation with mdoc
Gerald Versluis edited this page Mar 3, 2021
·
1 revision
This page is mostly for maintainers, because I am sure to forget some of this over time :D
- Clone the latest and greatest of the current stable release
- Run
msbuild Xamarin.CommunityToolkit.All.sln /t:restore,build,MDocUpdateDocs /p:GenerateApiDocs=true /p:Configuration=Release
. This builds both the Toolkit and Markup projects, pulls together all the references and Toolkit/Markup assemblies in{repo root}/docs
and starts generating all the documentation XML files in{repo root}/docs/en
- Copy all the XML files to
xamarin-community-toolkit-api-docs/xml
of this repo and make surexml/_filter.xml
andxml/PackageInformation
(folder) stay in the same place, the rest of the files can be deleted to make sure everything is fully refreshed if needed - Update the version number of the Toolkit in the
xml/PackageInformation/xamarin-community-toolkit-sdk.json
file - Put the result in a branch and open a PR on the repo