mac, linux, win: fix dead URLs and improve docs
This commit fixes dead URLs and updates documentation references, improving accuracy and reliability. Key changes: - Fix dead URLs by using archived snapshots when they are detected as down by tests. - Update URLs to their new redirected locations. Other supporting changes: - Introduce long URLs for `archive.ph` links to retain the original URLs within the documentation. It simplifies the maintenance by removing the need to document the original locations along with the short URLs. - Improve some of the documentation to use more current sources, replacing the outdated ones.
This commit is contained in:
@@ -95,7 +95,7 @@ function getLines(code: string): string[] {
|
||||
|
||||
/*
|
||||
Merges inline here-strings to a single lined string with Windows line terminator (\r\n)
|
||||
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules#here-strings
|
||||
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_quoting_rules?view=powershell-7.4#here-strings
|
||||
*/
|
||||
function mergeHereStrings(code: string) {
|
||||
const regex = /@(['"])\s*(?:\r\n|\r|\n)((.|\n|\r)+?)(\r\n|\r|\n)\1@/g;
|
||||
|
||||
Reference in New Issue
Block a user