-
Notifications
You must be signed in to change notification settings - Fork 11
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
Added build script for Microsoft Learn docs #177
Conversation
Looks like a difference between PowerShell 5.1 and PowerShell Core. Since this is only used by maintainers, let's get this merged and open a new ticket for fixing this to work in pwsh 5.1. |
@Arlodotexe thoughts on how hard it'd be to group things in the TOC under 'Controls' that have the Controls package/project name? I think that'd help reduce some of the noise in the TOC and make things easier to find? Otherwise looks good, we'll just have to redirect the existing page duplicates that got renamed to index in the docs repo. |
@michael-hawker Right now we're just iterating each of our components in the Our flattened Yes, it would be good to group things more here. But if we do that grouping here, it won't be a reflection of how things are actually structured in the toolkit and will be more work to migrate later, after the above work that we'll need to do anyway. For now, I think it would be preferable to publish docs with the improvements we have here and come back when we've made improvements to our underlying infrastructure (including new redirects that would entail). It will be less confusing for contributors and people consuming our packages. |
Yeah, that make sense, I know there's still a lot of those things we're still working through. I agree that we want some mapping to the structure of the packages, so I agree that I don't think we'd want to move any folders around for the docs or anything to make it more straight-forward to maintain. The TOC is pretty flexible though and a separate entity, so I think some organization to better align to our sample app categorization could be handy, but that is indeed something we can investigate more later. Incremental improvements. :) |
This PR adds a new
Build-Toolkit-Docs.ps1
build script that:href
.index.md
to avoid creating paths like/SettingsControls/SettingsControls/
.href
, and the file is expected to be namedindex.md
if it is the only doc for a component.