patridge / learn-metadata-tool

Chrome extension for Microsoft Learn folks to find content maintainers and GitHub content pages.
https://chrome.google.com/webstore/detail/microsoft-learn-maintenan/kagphmnlicelfcbbhhmgjcpgnbponlda
MIT License
2 stars 0 forks source link

GitHub URL for localized content results in 404 #61

Closed patridge closed 3 years ago

patridge commented 3 years ago

Example:

patridge commented 3 years ago

Looks like the Localization repos only operate in the live branch, which makes these master branches go to a very outdated repo commit. Correct URL (adding to description) should be this: https://github.com/MicrosoftDocs/learn-pr.de-DE/blob/live/learn-pr/azure-fundamentals/fundamental-azure-concepts/knowledge-check.yml

patridge commented 3 years ago

This page brings up another potential edge case. The Markdown page is different than the YAML page. As a result, trying to alter the current page source URL for Markdown will still result in a 404 because the names differ.

YAML: https://github.com/MicrosoftDocs/learn-pr.de-DE/blob/live/learn-pr/azure-fundamentals/fundamental-azure-concepts/knowledge-check.yml Markdown: https://github.com/MicrosoftDocs/learn-pr.de-DE/blob/live/learn-pr/azure-fundamentals/fundamental-azure-concepts/includes/5-knowledge-check.md

patridge commented 3 years ago

Went live with #66