From faf832401f459d1f163189532fb04011a9bc0c96 Mon Sep 17 00:00:00 2001 From: Christoph Bergmeister Date: Wed, 6 Jun 2018 02:37:14 +0000 Subject: [PATCH] Fix broken links due to PR 6899 that removed GitHub docs on installation docs, known issues and breaking changes due to complete migration to docs.microsoft.com (#6981) * Fix broken installation links in README.md * fix remaining broken links due to removal of breakingchanges and knownissues docs * Remove en-us culture from docs links in readme * Remove last en-us culture link from issue template --- .github/ISSUE_TEMPLATE.md | 2 +- .spelling | 61 ------------------------- README.md | 47 +++++++++---------- test/common/markdown/markdown.tests.ps1 | 1 - 4 files changed, 25 insertions(+), 86 deletions(-) diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md index fc111db035..51d3b8bdf7 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE.md @@ -8,7 +8,7 @@ If it is a bug report: You can install the latest version from https://github.com/PowerShell/PowerShell/releases - Search the existing issues. - Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md). -- Refer to the [known issues](https://github.com/PowerShell/PowerShell/blob/master/docs/KNOWNISSUES.md). +- Refer to the [known issues](https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6). - Fill out the following repro template: If it's not a bug, please remove the template and elaborate the issue in your own words. diff --git a/.spelling b/.spelling index ee4262fbdd..83013884ad 100644 --- a/.spelling +++ b/.spelling @@ -501,20 +501,6 @@ NanoServer-Insider nanoserver-insider-powershell #endregion -#region docs/BREAKINGCHANGES.md Overrides -- docs/BREAKINGCHANGES.md -7-bit -CoreFX -honored -non-Windows -psd1 -runbooks -runspace -v1 -v2 -WMI-based -#endregion - #region docs/building/internals.md Overrides - docs/building/internals.md Catalog @@ -647,53 +633,6 @@ sample-dotnet1 sample-dotnet2 #endregion -#region docs/installation/linux.md Overrides - - docs/installation/linux.md -compat-openssl10 -dockerfile -libc6 -libcurl -libcurl3 -libgcc1 -libgssapi-krb5-2 -libicu -libicu52 -libicu55 -libicu57 -liblttng-ust0 -libssl1.0.0 -libssl1.0.2 -libstdc -libunwind -libunwind8 -libuuid1 -openssl-libs -OpenSUSE -zlib1g -zypper -#endregion - -#region docs/installation/windows.md Overrides - - docs/installation/windows.md -Install-PowerShellRemoting -pwrshplugin.dll -System32 -Win8 -windir -#endregion - -#region docs/KNOWNISSUES.md Overrides - - docs/KNOWNISSUES.md -cp -globbing -New-PSSession -pipelining -psl-omi-provider -Register-WmiEvent -System.Management.Automation.SemanticVersion -System.Timers.Timer -#endregion - #region docs/learning-powershell/create-powershell-scripts.md Overrides - docs/learning-powershell/create-powershell-scripts.md NetIP.ps1. diff --git a/README.md b/README.md index 2d12d86030..335400ac1e 100644 --- a/README.md +++ b/README.md @@ -55,9 +55,9 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu | Platform | Downloads (stable) | Downloads (preview) | How to Install | | ------------------------------------| ------------------------------------------------ | ------------------------------------------------| -----------------------------------------------| | Windows | [32-bit][rl-winx86-zip]/[64-bit][rl-winx64-zip] | [32-bit][pv-winx86-zip]/[64-bit][pv-winx64-zip] | [Instructions][in-windows-zip] | -| macOS | [64-bit][rl-macos-tar] | [64-bit][pv-macos-tar] | [Instructions][in-tar] | -| Linux | [64-bit][rl-linux-tar] | [64-bit][pv-linux-tar] | [Instructions][in-tar] | -| Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [32-bit][pv-winarm]/[64-bit][pv-winarm64] | [Instructions][in-windows-zip] | +| macOS | [64-bit][rl-macos-tar] | [64-bit][pv-macos-tar] | [Instructions][in-tar-macos] | +| Linux | [64-bit][rl-linux-tar] | [64-bit][pv-linux-tar] | [Instructions][in-tar-linux] | +| Windows (arm) **Experimental** | [32-bit][rl-winarm]/[64-bit][rl-winarm64] | [32-bit][pv-winarm]/[64-bit][pv-winarm64] | [Instructions][in-arm] | | Raspbian (Stretch) **Experimental** | [.tgz][rl-raspbian] | [.tgz][pv-raspbian] | [Instructions][in-raspbian] | [rl-windows-64]: https://github.com/PowerShell/PowerShell/releases/download/v6.0.2/PowerShell-6.0.2-win-x64.msi @@ -95,26 +95,27 @@ You can also download the PowerShell binary archives for Windows, macOS and Linu [pv-linux-tar]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0-preview.2/powershell-6.1.0-preview.2-linux-x64.tar.gz [pv-raspbian]: https://github.com/PowerShell/PowerShell/releases/download/v6.1.0-preview.2/powershell-6.1.0-preview.2-linux-arm32.tar.gz -[installation]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation -[in-windows]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#msi -[in-ubuntu14]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#ubuntu-1404 -[in-ubuntu16]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#ubuntu-1604 -[in-ubuntu17]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#ubuntu-1704 -[in-deb8]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#debian-8 -[in-deb9]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#debian-9 -[in-centos]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#centos-7 -[in-rhel7]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#red-hat-enterprise-linux-rhel-7 -[in-opensuse422]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#opensuse-422 -[in-fedora25]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#fedora-25 -[in-fedora26]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#fedora-26 -[in-archlinux]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#arch-linux -[in-appimage]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#linux-appimage -[in-macos]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/macos.md +[in-windows]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-windows?view=powershell-6 +[in-ubuntu14]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#ubuntu-1404 +[in-ubuntu16]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#ubuntu-1604 +[in-ubuntu17]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#ubuntu-1704 +[in-deb8]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#debian-8 +[in-deb9]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#debian-9 +[in-centos]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#centos-7 +[in-rhel7]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#red-hat-enterprise-linux-rhel-7 +[in-opensuse422]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#opensuse-422 +[in-fedora25]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#fedora-25 +[in-fedora26]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#fedora-26 +[in-archlinux]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#arch-linux +[in-appimage]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#linux-appimage +[in-macos]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-macos?view=powershell-6 [in-docker]: https://github.com/PowerShell/PowerShell/tree/master/docker -[in-kali]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#kali -[in-windows-zip]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/windows.md#zip -[in-tar]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#binary-archives -[in-raspbian]: https://github.com/PowerShell/PowerShell/tree/master/docs/installation/linux.md#raspbian +[in-kali]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#kali +[in-windows-zip]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-windows?view=powershell-6#zip +[in-tar-linux]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#binary-archives +[in-tar-macos]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-macos?view=powershell-6#binary-archives +[in-raspbian]: https://docs.microsoft.com/powershell/scripting/setup/installing-powershell-core-on-linux?view=powershell-6#raspbian +[in-arm]: https://docs.microsoft.com/powershell/scripting/setup/powershell-core-on-arm?view=powershell-6 [corefx-win]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#windows [corefx-linux]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#linux [corefx-macos]:https://github.com/dotnet/core/blob/master/release-notes/2.0/2.0-supported-os.md#macos @@ -212,7 +213,7 @@ Also make sure to check out our [PowerShell-RFC repository](https://github.com/p [check out our FAQ]: https://github.com/PowerShell/PowerShell/tree/master/docs/FAQ.md#where-do-i-get-the-powershell-core-sdk-package [Contribution Guide]: https://github.com/PowerShell/PowerShell/tree/master/.github/CONTRIBUTING.md -[known issues]: https://github.com/PowerShell/PowerShell/tree/master/docs/KNOWNISSUES.md +[known issues]: https://docs.microsoft.com/powershell/scripting/whats-new/known-issues-ps6?view=powershell-6 [GitHub issues]: https://github.com/PowerShell/PowerShell/issues [new issue]:https://github.com/PowerShell/PowerShell/issues/new diff --git a/test/common/markdown/markdown.tests.ps1 b/test/common/markdown/markdown.tests.ps1 index 53d5883b26..2a240652e5 100644 --- a/test/common/markdown/markdown.tests.ps1 +++ b/test/common/markdown/markdown.tests.ps1 @@ -82,7 +82,6 @@ Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' { './docs/building/*.md' './docs/cmdlet-example/*.md' './docs/git/submodules.md' - './docs/installation/*.md' './docs/maintainers/*.md' './docs/testing-guidelines/testing-guidelines.md' './test/powershell/README.md'