Skip to content

Conversation

@Sergio0694
Copy link
Contributor

What changes to the docs does this PR provide?

This PR adds all URL redirects for the .NET Community Toolkit docs.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Correctly picked the right branch to base the change off (dev for new features, main for typos/improvements)
  • For new pages, used the provided template
  • For new features, added an entry in the Table of Contents
  • Ran against a spell and grammar checker
  • Contains NO breaking changes

@Sergio0694
Copy link
Contributor Author

Hey @michael-hawker, can you take a quick look when you have a minute? Thank you! 😄

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 9783c5c:

✅ Validation status: passed

File Status Preview URL Details
.openpublishing.redirection.json ✅Succeeded

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@michael-hawker
Copy link
Collaborator

Found the docs on redirection here:

Looks like source path is from this file, so we need the docs/ folder to root it I guess? The article also mentions removing the original files.

Think the existing redirects we have in this file are incorrect.

@Sergio0694
Copy link
Contributor Author

I've added the docs/ root to all redirects (including the existing ones), and deleted all the old docs as well 🙂

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 5a25ac7:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
.openpublishing.redirection.json 💡Suggestion Details

  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/custom.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'archive/graph/providers/InteractiveProviderBehavior.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/msal.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'archive/graph/providers/MockProviderBehavior.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/windows.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.

.openpublishing.redirection.json

  • Line 5, Column 70: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'archive/graph/providers/InteractiveProviderBehavior.md' because redirect URL '/graph/providers/interactiveproviderbehavior' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 10, Column 63: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'archive/graph/providers/MockProviderBehavior.md' because redirect URL '/graph/providers/mockproviderbehavior' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 15, Column 60: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/msal.md' because redirect URL '/graph/authentication/msalprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 20, Column 63: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/windows.md' because redirect URL '/graph/authentication/windowsprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 25, Column 57: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/custom.md' because redirect URL '/graph/authentication/iprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 30, Column 56: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Introduction.md' because redirect URL '/dotnet/communitytoolkit/mvvm/' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 35, Column 72: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableObject.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observableobject' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 40, Column 75: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableRecipient.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observablerecipient' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 45, Column 75: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableValidator.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observablevalidator' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 50, Column 68: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/RelayCommand.md' because redirect URL '/dotnet/communitytoolkit/mvvm/relaycommand' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 55, Column 73: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/AsyncRelayCommand.md' because redirect URL '/dotnet/communitytoolkit/mvvm/asyncrelaycommand' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 60, Column 65: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Messenger.md' because redirect URL '/dotnet/communitytoolkit/mvvm/messenger' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 65, Column 59: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Ioc.md' because redirect URL '/dotnet/communitytoolkit/mvvm/ioc' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 70, Column 77: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/PuttingThingsTogether.md' because redirect URL '/dotnet/communitytoolkit/mvvm/puttingthingstogether' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 75, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/MigratingFromMvvmLight.md' because redirect URL '/dotnet/communitytoolkit/mvvm/migratingfrommvvmlight' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 80, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/MigratingFromMvvmBasic.md' because redirect URL '/dotnet/communitytoolkit/mvvm/migratingfrommvvmbasic' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 85, Column 80: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/Introduction.md' because redirect URL '/dotnet/communitytoolkit/high-performance/introduction' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 90, Column 79: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/MemoryOwner.md' because redirect URL '/dotnet/communitytoolkit/high-performance/memoryowner' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 95, Column 77: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/SpanOwner.md' because redirect URL '/dotnet/communitytoolkit/high-performance/spanowner' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 100, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/StringPool.md' because redirect URL '/dotnet/communitytoolkit/high-performance/stringpool' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 3247378:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
.openpublishing.redirection.json 💡Suggestion Details
docs/developer-tools/Guard.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/ThrowHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/diagnostics/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Memory2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/MemoryOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/ParallelHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Ref.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Span2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/SpanOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/StringPool.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/AsyncRelayCommand.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Ioc.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Messenger.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmBasic.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmLight.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableObject.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableRecipient.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableValidator.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/PuttingThingsTogether.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/RelayCommand.md ✅Succeeded n/a (file deleted or renamed)

  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/custom.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/windows.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'archive/graph/providers/InteractiveProviderBehavior.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'archive/graph/providers/MockProviderBehavior.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/msal.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.

.openpublishing.redirection.json

  • Line 5, Column 70: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'archive/graph/providers/InteractiveProviderBehavior.md' because redirect URL '/graph/providers/interactiveproviderbehavior' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 10, Column 63: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'archive/graph/providers/MockProviderBehavior.md' because redirect URL '/graph/providers/mockproviderbehavior' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 15, Column 60: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/msal.md' because redirect URL '/graph/authentication/msalprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 20, Column 63: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/windows.md' because redirect URL '/graph/authentication/windowsprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 25, Column 57: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/custom.md' because redirect URL '/graph/authentication/iprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 30, Column 56: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Introduction.md' because redirect URL '/dotnet/communitytoolkit/mvvm/' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 35, Column 72: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableObject.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observableobject' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 40, Column 75: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableRecipient.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observablerecipient' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 45, Column 75: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableValidator.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observablevalidator' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 50, Column 68: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/RelayCommand.md' because redirect URL '/dotnet/communitytoolkit/mvvm/relaycommand' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 55, Column 73: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/AsyncRelayCommand.md' because redirect URL '/dotnet/communitytoolkit/mvvm/asyncrelaycommand' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 60, Column 65: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Messenger.md' because redirect URL '/dotnet/communitytoolkit/mvvm/messenger' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 65, Column 59: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Ioc.md' because redirect URL '/dotnet/communitytoolkit/mvvm/ioc' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 70, Column 77: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/PuttingThingsTogether.md' because redirect URL '/dotnet/communitytoolkit/mvvm/puttingthingstogether' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 75, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/MigratingFromMvvmLight.md' because redirect URL '/dotnet/communitytoolkit/mvvm/migratingfrommvvmlight' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 80, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/MigratingFromMvvmBasic.md' because redirect URL '/dotnet/communitytoolkit/mvvm/migratingfrommvvmbasic' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 85, Column 80: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/Introduction.md' because redirect URL '/dotnet/communitytoolkit/high-performance/introduction' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 90, Column 79: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/MemoryOwner.md' because redirect URL '/dotnet/communitytoolkit/high-performance/memoryowner' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 95, Column 77: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/SpanOwner.md' because redirect URL '/dotnet/communitytoolkit/high-performance/spanowner' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 100, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/StringPool.md' because redirect URL '/dotnet/communitytoolkit/high-performance/stringpool' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 39f1580:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
.openpublishing.redirection.json 💡Suggestion Details
docs/archive/graph/providers/InteractiveProviderBehavior.md ✅Succeeded n/a (file deleted or renamed)
docs/archive/graph/providers/MockProviderBehavior.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/Guard.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/ThrowHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/diagnostics/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Memory2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/MemoryOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/ParallelHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Ref.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Span2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/SpanOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/StringPool.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/AsyncRelayCommand.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Ioc.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Messenger.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmBasic.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmLight.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableObject.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableRecipient.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableValidator.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/PuttingThingsTogether.md ✅Succeeded n/a (file deleted or renamed)

This comment lists only the first 25 files in the pull request.

  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/msal.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/custom.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/windows.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.

.openpublishing.redirection.json

  • Line 5, Column 70: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'archive/graph/providers/InteractiveProviderBehavior.md' because redirect URL '/graph/providers/interactiveproviderbehavior' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 10, Column 63: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'archive/graph/providers/MockProviderBehavior.md' because redirect URL '/graph/providers/mockproviderbehavior' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 15, Column 60: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/msal.md' because redirect URL '/graph/authentication/msalprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 20, Column 63: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/windows.md' because redirect URL '/graph/authentication/windowsprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 25, Column 57: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'graph/authentication/custom.md' because redirect URL '/graph/authentication/iprovider' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 30, Column 56: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Introduction.md' because redirect URL '/dotnet/communitytoolkit/mvvm/' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 35, Column 72: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableObject.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observableobject' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 40, Column 75: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableRecipient.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observablerecipient' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 45, Column 75: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/ObservableValidator.md' because redirect URL '/dotnet/communitytoolkit/mvvm/observablevalidator' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 50, Column 68: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/RelayCommand.md' because redirect URL '/dotnet/communitytoolkit/mvvm/relaycommand' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 55, Column 73: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/AsyncRelayCommand.md' because redirect URL '/dotnet/communitytoolkit/mvvm/asyncrelaycommand' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 60, Column 65: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Messenger.md' because redirect URL '/dotnet/communitytoolkit/mvvm/messenger' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 65, Column 59: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/Ioc.md' because redirect URL '/dotnet/communitytoolkit/mvvm/ioc' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 70, Column 77: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/PuttingThingsTogether.md' because redirect URL '/dotnet/communitytoolkit/mvvm/puttingthingstogether' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 75, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/MigratingFromMvvmLight.md' because redirect URL '/dotnet/communitytoolkit/mvvm/migratingfrommvvmlight' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 80, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'mvvm/MigratingFromMvvmBasic.md' because redirect URL '/dotnet/communitytoolkit/mvvm/migratingfrommvvmbasic' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 85, Column 80: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/Introduction.md' because redirect URL '/dotnet/communitytoolkit/high-performance/introduction' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 90, Column 79: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/MemoryOwner.md' because redirect URL '/dotnet/communitytoolkit/high-performance/memoryowner' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 95, Column 77: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/SpanOwner.md' because redirect URL '/dotnet/communitytoolkit/high-performance/spanowner' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 100, Column 78: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/StringPool.md' because redirect URL '/dotnet/communitytoolkit/high-performance/stringpool' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 105, Column 76: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/Memory2D.md' because redirect URL '/dotnet/communitytoolkit/high-performance/memory2d' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.
  • Line 110, Column 74: [Suggestion: redirect-url-invalid - See documentation] Can't redirect document ID for redirected file 'high-performance/Span2D.md' because redirect URL '/dotnet/communitytoolkit/high-performance/span2d' is invalid or is in a different docset. Specify a redirect_url in the same docset, or set redirect_document_id to false in .openpublishing.redirection.json.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@Sergio0694 Sergio0694 force-pushed the user/sergiopedri/nct-redirects branch from fee613d to e507f6e Compare January 31, 2023 19:58
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit fee613d:

⚠️ Validation status: warnings

File Status Preview URL Details
⚠️Warning Details
.openpublishing.redirection.json ✅Succeeded
docs/archive/graph/providers/InteractiveProviderBehavior.md ✅Succeeded n/a (file deleted or renamed)
docs/archive/graph/providers/MockProviderBehavior.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/Guard.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/ThrowHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/diagnostics/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Memory2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/MemoryOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/ParallelHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Ref.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Span2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/SpanOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/StringPool.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/AsyncRelayCommand.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Ioc.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Messenger.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmBasic.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmLight.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableObject.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableRecipient.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableValidator.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/PuttingThingsTogether.md ✅Succeeded n/a (file deleted or renamed)

This comment lists only the first 25 files in the pull request.

  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/msal.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/windows.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.
  • Line 0, Column 0: [Warning: redirected-file-not-removed - See documentation] Redirected file 'graph/authentication/custom.md' are still in the repo. After adding a file to the redirection JSON file, you must delete the original file from the repo.

For more details, please refer to the build report.

If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

For any questions, please:

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit e507f6e:

✅ Validation status: passed

File Status Preview URL Details
.openpublishing.redirection.json ✅Succeeded
docs/archive/graph/providers/InteractiveProviderBehavior.md ✅Succeeded n/a (file deleted or renamed)
docs/archive/graph/providers/MockProviderBehavior.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/Guard.md ✅Succeeded n/a (file deleted or renamed)
docs/developer-tools/ThrowHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/diagnostics/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/graph/authentication/custom.md ✅Succeeded n/a (file deleted or renamed)
docs/graph/authentication/msal.md ✅Succeeded n/a (file deleted or renamed)
docs/graph/authentication/windows.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Memory2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/MemoryOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/ParallelHelper.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Ref.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/Span2D.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/SpanOwner.md ✅Succeeded n/a (file deleted or renamed)
docs/high-performance/StringPool.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/AsyncRelayCommand.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Introduction.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Ioc.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/Messenger.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmBasic.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/MigratingFromMvvmLight.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableObject.md ✅Succeeded n/a (file deleted or renamed)
docs/mvvm/ObservableRecipient.md ✅Succeeded n/a (file deleted or renamed)

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@Sergio0694
Copy link
Contributor Author

@michael-hawker I've updated everything, it seems the bot is also happy now? 😄

@michael-hawker
Copy link
Collaborator

Not sure why the linter is failing, seems like a setup/module issue...?

This should be the preview link for the branch:
https://review.learn.microsoft.com/windows/uwpcommunitytoolkit/?branch=pr-en-us-679

Does appear that the side-bar navigation links try to redirect, so that's a good sign (note: they try to redirect on the preview site so that doesn't work as expected, but if you remove the 'review.' at the beginning you can see they point to the docs).

@michael-hawker
Copy link
Collaborator

Not sure why the linter is failing here...

/opt/hostedtoolcache/node/12.22.12/x64/bin/markdownlint -> /opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/markdownlint-cli/markdownlint.js
npm WARN notsup Unsupported engine for markdownlint-cli@0.33.0: wanted: {"node":">=14"} (current: {"node":"12.22.12","npm":"6.14.16"})
npm WARN notsup Not compatible with your version of node/npm: markdownlint-cli@0.33.0
npm WARN notsup Unsupported engine for markdownlint@0.2[7](https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/actions/runs/4057835734/jobs/6984315770#step:4:8).0: wanted: {"node":">=14.1[8](https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/actions/runs/4057835734/jobs/6984315770#step:4:9).0"} (current: {"node":"12.22.12","npm":"6.14.16"})
npm WARN notsup Not compatible with your version of node/npm: markdownlint@0.27.0

+ markdownlint-cli@0.33.0
added 27 packages from 21 contributors in 1.43[9](https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/actions/runs/4057835734/jobs/6984315770#step:4:10)s
internal/modules/cjs/loader.js:818
  throw err;
  ^

Error: Cannot find module 'node:fs'
Require stack:
- /opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/markdownlint-cli/markdownlint.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object.<anonymous> (/opt/hostedtoolcache/node/12.22.12/x64/lib/node_modules/markdownlint-cli/markdownlint.js:5:12)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:[10](https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/actions/runs/4057835734/jobs/6984315770#step:4:11)27:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:[12](https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/actions/runs/4057835734/jobs/6984315770#step:4:13)) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/opt/hostedtoolcache/node/12.[22](https://github.com/MicrosoftDocs/WindowsCommunityToolkitDocs/actions/runs/4057835734/jobs/6984315770#step:4:23).12/x64/lib/node_modules/markdownlint-cli/markdownlint.js'
  ]
}
Error: Process completed with exit code 1.

Seems like some environment/config issue?

Shouldn't matter for this PR as we're not changing any content. Will commit, we'll have to push to live though too.

@michael-hawker michael-hawker merged commit 8f81658 into MicrosoftDocs:main Jan 31, 2023
Arlodotexe added a commit to Arlodotexe/CommunityToolkit that referenced this pull request Sep 25, 2025
- Restore msal.md, windows.md, custom.md from 7x repo commit 8f81658c^
- Files were accidentally deleted in MicrosoftDocs/WindowsCommunityToolkitDocs#679
  'Add .NET Community Toolkit redirects' (commit 8f81658c, Jan 31, 2023) by Sergio Pedri
- Content retrieved from WindowsCommunityToolkitDocs repository before deletion
- Resolves missing authentication doc stubs for MicrosoftDocs#595

Fixes: Accidental deletion during .NET Community Toolkit redirect migration
Related: MicrosoftDocs/WindowsCommunityToolkitDocs#679, MicrosoftDocs#595
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants