Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API documentation #14372

Open
3 of 6 tasks
rolfbjarne opened this issue Mar 11, 2022 · 2 comments
Open
3 of 6 tasks

Fix API documentation #14372

rolfbjarne opened this issue Mar 11, 2022 · 2 comments
Labels
enhancement The issue or pull request is an enhancement
Milestone

Comments

@rolfbjarne
Copy link
Member

rolfbjarne commented Mar 11, 2022

We currently don't have any sort of API documentation in .NET, and we'd like to fix this. Historically the documentation story for iOS has been rather complicated, where on one hand we had some manually written documentation for some of the most important iOS API, and then on the other hand we'd run a program on user's machine to import Apple's documentation that they shipped with Xcode. There were numerous problems with this approach (it was a complicated implementation and hard to maintain, it took a long time to execute on user's machines, it broke fairly often in the IDE, etc.), and it finally died when Apple changed how they stored their documentation on disk and the import tool stopped working (around Xcode 9 iirc).

Now we want to:

  • Ship at least some sort of API documentation.
  • Make the process simpler on our side (if it's easier to maintain, it's easier to make sure it doesn't bitrot as well)

The main idea behind the new plan is to use inline XML (triple-slash) documentation instead of documentation in an external repo. Hopefully this will make it much easier for us to handle/write/add to the documentation, and it will get better over time instead of worse. Using inline XML documentation is also the direction most other Microsoft teams are going.

There are multiple steps to the plan:

Relevant people outside our team:

  • Dave Britch, to help figuring out how to publish the documentation to the web site.

Refs:

@rolfbjarne rolfbjarne added the enhancement The issue or pull request is an enhancement label Mar 11, 2022
@rolfbjarne rolfbjarne added this to the .NET 7 milestone Mar 11, 2022
@sandyarmstrong
Copy link
Member

Also documentation is not shipped with the workloads, so the IDE only shows useful help if you happen to have legacy Xamarin.Mac installed (and of course there are differences in those APIs).

#13614

@sandyarmstrong
Copy link
Member

And of course there is also all of https://docs.microsoft.com/en-us/xamarin/mac/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement The issue or pull request is an enhancement
Projects
None yet
Development

No branches or pull requests

2 participants