-
Notifications
You must be signed in to change notification settings - Fork 157
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
Restructure sections to separate UWP and .NET Standard #303
Comments
Should also better separate the UWP based controls from the XAML Islands helpers. |
We should also make sure all our blocks at the bottom are updated to differentiate between .NET Standard vs. UWP as was called out here: #302 (comment) |
I was in the process of writing the docs for CommunityToolkit/WindowsCommunityToolkit#3353 and I think I've identified another big improvements we could add to the docs for the toolkit, assuming this is possible. Right now, writing the docs for a new control/helper requires contributors to perform the following steps: ✅ Create the page, add it to the I would argue the current workflow is not ideal, especially for new developers. The steps with the green checkmark are perfectly fine and those should be the only ones required for contributors. There are a number of issues with the last two steps:
Consider this example from the docs for the Compare that with the autogenerate section from the same type (here): Much better! 😄 For the reasons listed above, I don't think just asking contributors to spend more time eg. adding hyperlinks etc. to their hand-crafted docs is a good solution, ideally we'd just want to rethink this strategy here entirely. A few possible options:
> [!API-PROPERTIES](microsoft.toolkit.highperformance.buffers.spanowner-1)
> [!API-METHODS](microsoft.toolkit.highperformance.buffers.spanowner-1) This second one was just an idea and I realize it'd be more complex to do as it'd require some work from the MS docs team too. Personally I'd be fine with the first one as well at least for now, as I'm not really convinced the current docs creation procedure is ideal, for the reasons listed above. Just some thoughts I had while writing the docs, hope this helps! 😊 |
We can also physically move files around, but we need to create a redirect file. I need to grab an example from another docs repo, but this would be handy, especially for archived content. For now we just have to leave things as is and update the TOC for 7.0, and we'll fix this with a docs revamp for 7.1. |
The toolkit currently includes a number of APIs that are not UWP-specific, with more targeting .NET Standard on their way as well. Right now it's difficult to see at a glance which APIs are only available on UWP and which can be used from any kind of .NET project instead.
It'd be nice to restructure the sections (eg. with two main "UWP" and ".NET Standard" sections) to clearly separate the two main types of APIs. This would also make life easier for devs working on .NET Standard projects (or .NET Core, or any other portable runtime), as they'd be able to just expand the ".NET Standard" section and look at APIs available there, instead of having to double check the framework/namespace of each API across the various sections.
cc. @michael-hawker
The text was updated successfully, but these errors were encountered: