Skip to content

Commit ea377f3

Browse files
authoredMay 18, 2023
(MAINT) Refactor redirections (MicrosoftDocs#10086)
1 parent 18dbc21 commit ea377f3

9 files changed

+928
-1278
lines changed
 

‎.openpublishing.publish.config.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
},
4646
"docset_name": "PowerShell_PowerShell-docs_reference",
4747
"locale": "en-us",
48-
"monikerPath": [
49-
"mapping/monikerMapping.json"
50-
],
5148
"moniker_ranges": [
5249
">=powershell-5.1"
5350
],
51+
"monikerPath": [
52+
"mapping/monikerMapping.json"
53+
],
5454
"monikers": [],
5555
"open_to_public_contributors": true,
5656
"template_folder": "_themes",
@@ -74,11 +74,10 @@
7474
"redirection_files": [
7575
".openpublishing.redirection.json",
7676
".openpublishing.redirection.51.json",
77-
".openpublishing.redirection.71.json",
7877
".openpublishing.redirection.72.json",
79-
".openpublishing.redirection.73.json",
80-
".openpublishing.redirection.74.json",
78+
".openpublishing.redirection.dsc.json",
8179
".openpublishing.redirection.gallery.json",
80+
".openpublishing.redirection.psget.json",
8281
".openpublishing.redirection.virtual.json"
8382
],
8483
"skip_source_output_uploading": false,

‎.openpublishing.redirection.51.json

-290
Original file line numberDiff line numberDiff line change
@@ -1,295 +1,5 @@
11
{
22
"redirections": [
3-
{
4-
"redirect_document_id": false,
5-
"redirect_url": "/powershell/module/packagemanagement/find-package?view=powershellget-1.x",
6-
"source_path": "reference/5.1/PackageManagement/Find-Package.md"
7-
},
8-
{
9-
"redirect_document_id": false,
10-
"redirect_url": "/powershell/module/packagemanagement/find-packageprovider?view=powershellget-1.x",
11-
"source_path": "reference/5.1/PackageManagement/Find-PackageProvider.md"
12-
},
13-
{
14-
"redirect_document_id": false,
15-
"redirect_url": "/powershell/module/packagemanagement/get-package?view=powershellget-1.x",
16-
"source_path": "reference/5.1/PackageManagement/Get-Package.md"
17-
},
18-
{
19-
"redirect_document_id": false,
20-
"redirect_url": "/powershell/module/packagemanagement/get-packageprovider?view=powershellget-1.x",
21-
"source_path": "reference/5.1/PackageManagement/Get-PackageProvider.md"
22-
},
23-
{
24-
"redirect_document_id": false,
25-
"redirect_url": "/powershell/module/packagemanagement/get-packagesource?view=powershellget-1.x",
26-
"source_path": "reference/5.1/PackageManagement/Get-PackageSource.md"
27-
},
28-
{
29-
"redirect_document_id": false,
30-
"redirect_url": "/powershell/module/packagemanagement/import-packageprovider?view=powershellget-1.x",
31-
"source_path": "reference/5.1/PackageManagement/Import-PackageProvider.md"
32-
},
33-
{
34-
"redirect_document_id": false,
35-
"redirect_url": "/powershell/module/packagemanagement/install-package?view=powershellget-1.x",
36-
"source_path": "reference/5.1/PackageManagement/Install-Package.md"
37-
},
38-
{
39-
"redirect_document_id": false,
40-
"redirect_url": "/powershell/module/packagemanagement/install-packageprovider?view=powershellget-1.x",
41-
"source_path": "reference/5.1/PackageManagement/Install-PackageProvider.md"
42-
},
43-
{
44-
"redirect_document_id": false,
45-
"redirect_url": "/powershell/module/packagemanagement/packagemanagement?view=powershellget-1.x",
46-
"source_path": "reference/5.1/PackageManagement/PackageManagement.md"
47-
},
48-
{
49-
"redirect_document_id": false,
50-
"redirect_url": "/powershell/module/packagemanagement/register-packagesource?view=powershellget-1.x",
51-
"source_path": "reference/5.1/PackageManagement/Register-PackageSource.md"
52-
},
53-
{
54-
"redirect_document_id": false,
55-
"redirect_url": "/powershell/module/packagemanagement/save-package?view=powershellget-1.x",
56-
"source_path": "reference/5.1/PackageManagement/Save-Package.md"
57-
},
58-
{
59-
"redirect_document_id": false,
60-
"redirect_url": "/powershell/module/packagemanagement/set-packagesource?view=powershellget-1.x",
61-
"source_path": "reference/5.1/PackageManagement/Set-PackageSource.md"
62-
},
63-
{
64-
"redirect_document_id": false,
65-
"redirect_url": "/powershell/module/packagemanagement/uninstall-package?view=powershellget-1.x",
66-
"source_path": "reference/5.1/PackageManagement/Uninstall-Package.md"
67-
},
68-
{
69-
"redirect_document_id": false,
70-
"redirect_url": "/powershell/module/packagemanagement/unregister-packagesource?view=powershellget-1.x",
71-
"source_path": "reference/5.1/PackageManagement/Unregister-PackageSource.md"
72-
},
73-
{
74-
"redirect_document_id": false,
75-
"redirect_url": "/powershell/module/powershellget/find-command?view=powershellget-1.x",
76-
"source_path": "reference/5.1/PowershellGet/Find-Command.md"
77-
},
78-
{
79-
"redirect_document_id": false,
80-
"redirect_url": "/powershell/module/powershellget/find-dscresource?view=powershellget-1.x",
81-
"source_path": "reference/5.1/PowershellGet/Find-DscResource.md"
82-
},
83-
{
84-
"redirect_document_id": false,
85-
"redirect_url": "/powershell/module/powershellget/find-module?view=powershellget-1.x",
86-
"source_path": "reference/5.1/PowershellGet/Find-Module.md"
87-
},
88-
{
89-
"redirect_document_id": false,
90-
"redirect_url": "/powershell/module/powershellget/find-rolecapability?view=powershellget-1.x",
91-
"source_path": "reference/5.1/PowershellGet/Find-RoleCapability.md"
92-
},
93-
{
94-
"redirect_document_id": false,
95-
"redirect_url": "/powershell/module/powershellget/find-script?view=powershellget-1.x",
96-
"source_path": "reference/5.1/PowershellGet/Find-Script.md"
97-
},
98-
{
99-
"redirect_document_id": false,
100-
"redirect_url": "/powershell/module/powershellget/get-installedmodule?view=powershellget-1.x",
101-
"source_path": "reference/5.1/PowershellGet/Get-InstalledModule.md"
102-
},
103-
{
104-
"redirect_document_id": false,
105-
"redirect_url": "/powershell/module/powershellget/get-installedscript?view=powershellget-1.x",
106-
"source_path": "reference/5.1/PowershellGet/Get-InstalledScript.md"
107-
},
108-
{
109-
"redirect_document_id": false,
110-
"redirect_url": "/powershell/module/powershellget/get-psrepository?view=powershellget-1.x",
111-
"source_path": "reference/5.1/PowershellGet/Get-PSRepository.md"
112-
},
113-
{
114-
"redirect_document_id": false,
115-
"redirect_url": "/powershell/module/powershellget/install-module?view=powershellget-1.x",
116-
"source_path": "reference/5.1/PowershellGet/Install-Module.md"
117-
},
118-
{
119-
"redirect_document_id": false,
120-
"redirect_url": "/powershell/module/powershellget/install-script?view=powershellget-1.x",
121-
"source_path": "reference/5.1/PowershellGet/Install-Script.md"
122-
},
123-
{
124-
"redirect_document_id": false,
125-
"redirect_url": "/powershell/module/powershellget/new-scriptfileinfo?view=powershellget-1.x",
126-
"source_path": "reference/5.1/PowershellGet/New-ScriptFileInfo.md"
127-
},
128-
{
129-
"redirect_document_id": false,
130-
"redirect_url": "/powershell/module/powershellget/powershellget?view=powershellget-1.x",
131-
"source_path": "reference/5.1/PowershellGet/PowerShellGet.md"
132-
},
133-
{
134-
"redirect_document_id": false,
135-
"redirect_url": "/powershell/module/powershellget/publish-module?view=powershellget-1.x",
136-
"source_path": "reference/5.1/PowershellGet/Publish-Module.md"
137-
},
138-
{
139-
"redirect_document_id": false,
140-
"redirect_url": "/powershell/module/powershellget/publish-script?view=powershellget-1.x",
141-
"source_path": "reference/5.1/PowershellGet/Publish-Script.md"
142-
},
143-
{
144-
"redirect_document_id": false,
145-
"redirect_url": "/powershell/module/powershellget/register-psrepository?view=powershellget-1.x",
146-
"source_path": "reference/5.1/PowershellGet/Register-PSRepository.md"
147-
},
148-
{
149-
"redirect_document_id": false,
150-
"redirect_url": "/powershell/module/powershellget/save-module?view=powershellget-1.x",
151-
"source_path": "reference/5.1/PowershellGet/Save-Module.md"
152-
},
153-
{
154-
"redirect_document_id": false,
155-
"redirect_url": "/powershell/module/powershellget/save-script?view=powershellget-1.x",
156-
"source_path": "reference/5.1/PowershellGet/Save-Script.md"
157-
},
158-
{
159-
"redirect_document_id": false,
160-
"redirect_url": "/powershell/module/powershellget/set-psrepository?view=powershellget-1.x",
161-
"source_path": "reference/5.1/PowershellGet/Set-PSRepository.md"
162-
},
163-
{
164-
"redirect_document_id": false,
165-
"redirect_url": "/powershell/module/powershellget/test-scriptfileinfo?view=powershellget-1.x",
166-
"source_path": "reference/5.1/PowershellGet/Test-ScriptFileInfo.md"
167-
},
168-
{
169-
"redirect_document_id": false,
170-
"redirect_url": "/powershell/module/powershellget/uninstall-module?view=powershellget-1.x",
171-
"source_path": "reference/5.1/PowershellGet/Uninstall-Module.md"
172-
},
173-
{
174-
"redirect_document_id": false,
175-
"redirect_url": "/powershell/module/powershellget/uninstall-script?view=powershellget-1.x",
176-
"source_path": "reference/5.1/PowershellGet/Uninstall-Script.md"
177-
},
178-
{
179-
"redirect_document_id": false,
180-
"redirect_url": "/powershell/module/powershellget/unregister-psrepository?view=powershellget-1.x",
181-
"source_path": "reference/5.1/PowershellGet/Unregister-PSRepository.md"
182-
},
183-
{
184-
"redirect_document_id": false,
185-
"redirect_url": "/powershell/module/powershellget/update-module?view=powershellget-1.x",
186-
"source_path": "reference/5.1/PowershellGet/Update-Module.md"
187-
},
188-
{
189-
"redirect_document_id": false,
190-
"redirect_url": "/powershell/module/powershellget/update-modulemanifest?view=powershellget-1.x",
191-
"source_path": "reference/5.1/PowershellGet/Update-ModuleManifest.md"
192-
},
193-
{
194-
"redirect_document_id": false,
195-
"redirect_url": "/powershell/module/powershellget/update-script?view=powershellget-1.x",
196-
"source_path": "reference/5.1/PowershellGet/Update-Script.md"
197-
},
198-
{
199-
"redirect_document_id": false,
200-
"redirect_url": "/powershell/module/powershellget/update-scriptfileinfo?view=powershellget-1.x",
201-
"source_path": "reference/5.1/PowershellGet/Update-ScriptFileInfo.md"
202-
},
203-
{
204-
"redirect_document_id": false,
205-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/About/about_Classes_and_DSC?view=dsc-1.1",
206-
"source_path": "reference/5.1/PSDesiredStateConfiguration/About/about_Classes_and_DSC.md"
207-
},
208-
{
209-
"redirect_document_id": true,
210-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Disable-DscDebug?view=dsc-1.1",
211-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Disable-DscDebug.md"
212-
},
213-
{
214-
"redirect_document_id": true,
215-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Enable-DscDebug?view=dsc-1.1",
216-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Enable-DscDebug.md"
217-
},
218-
{
219-
"redirect_document_id": true,
220-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Get-DscConfiguration?view=dsc-1.1",
221-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Get-DscConfiguration.md"
222-
},
223-
{
224-
"redirect_document_id": true,
225-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Get-DscConfigurationStatus?view=dsc-1.1",
226-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Get-DscConfigurationStatus.md"
227-
},
228-
{
229-
"redirect_document_id": true,
230-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Get-DscLocalConfigurationManager?view=dsc-1.1",
231-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Get-DscLocalConfigurationManager.md"
232-
},
233-
{
234-
"redirect_document_id": true,
235-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Get-DscResource?view=dsc-1.1",
236-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Get-DscResource.md"
237-
},
238-
{
239-
"redirect_document_id": true,
240-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Invoke-DscResource?view=dsc-1.1",
241-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Invoke-DscResource.md"
242-
},
243-
{
244-
"redirect_document_id": true,
245-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/New-DSCCheckSum?view=dsc-1.1",
246-
"source_path": "reference/5.1/PSDesiredStateConfiguration/New-DSCCheckSum.md"
247-
},
248-
{
249-
"redirect_document_id": true,
250-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/PSDesiredStateConfiguration?view=dsc-1.1",
251-
"source_path": "reference/5.1/PSDesiredStateConfiguration/PSDesiredStateConfiguration.md"
252-
},
253-
{
254-
"redirect_document_id": true,
255-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Publish-DscConfiguration?view=dsc-1.1",
256-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Publish-DscConfiguration.md"
257-
},
258-
{
259-
"redirect_document_id": true,
260-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Remove-DscConfigurationDocument?view=dsc-1.1",
261-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Remove-DscConfigurationDocument.md"
262-
},
263-
{
264-
"redirect_document_id": true,
265-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Restore-DscConfiguration?view=dsc-1.1",
266-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Restore-DscConfiguration.md"
267-
},
268-
{
269-
"redirect_document_id": true,
270-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Set-DscLocalConfigurationManager?view=dsc-1.1",
271-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Set-DscLocalConfigurationManager.md"
272-
},
273-
{
274-
"redirect_document_id": true,
275-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Start-DscConfiguration?view=dsc-1.1",
276-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Start-DscConfiguration.md"
277-
},
278-
{
279-
"redirect_document_id": true,
280-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Stop-DscConfiguration?view=dsc-1.1",
281-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Stop-DscConfiguration.md"
282-
},
283-
{
284-
"redirect_document_id": true,
285-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Test-DscConfiguration?view=dsc-1.1",
286-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Test-DscConfiguration.md"
287-
},
288-
{
289-
"redirect_document_id": true,
290-
"redirect_url": "/powershell/module/PSDesiredStateConfiguration/Update-DscConfiguration?view=dsc-1.1",
291-
"source_path": "reference/5.1/PSDesiredStateConfiguration/Update-DscConfiguration.md"
292-
},
2933
{
2944
"redirect_document_id": true,
2955
"redirect_url": "/powershell/module/microsoft.powershell.core/get-verb?view=powershell-5.1",

‎.openpublishing.redirection.71.json

-39
This file was deleted.

0 commit comments

Comments
 (0)