From a334debf995f84b7194f6350dc04955833647b4b Mon Sep 17 00:00:00 2001 From: Sean Wheeler Date: Thu, 28 Sep 2023 11:23:20 -0500 Subject: [PATCH] Optimize globbing in docfx.json --- reference/docfx.json | 119 ++++++++++--------------------------------- 1 file changed, 27 insertions(+), 92 deletions(-) diff --git a/reference/docfx.json b/reference/docfx.json index ca2e5d284f89..8dab828c5ac4 100644 --- a/reference/docfx.json +++ b/reference/docfx.json @@ -28,64 +28,12 @@ "dest": "pscore-reference", "externalReference": [], "fileMetadata": { - "author": { - "**/*.md": "sdwheeler", - "**/*.yml": "sdwheeler", - "docs-conceptual/developer/**/*.md": "SteveL-MSFT", - "docs-conceptual/dsc/**/*.md": "mgreenegit", - "docs-conceptual/gallery/**/*.md": "SydneyhSmith", - "docs-conceptual/learn/ps101/*.md": "mikefrobbins", - "docs-conceptual/learn/remoting/jea/*.md": "rpsqrd" - }, "feedback_product_url": { - "docs-conceptual/dsc/**/*.md": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332", - "docs-conceptual/gallery/**/*.md": "https://github.com/powershell/powershellgallery/issues/new", + "docs-conceptual/*.md": "https://github.com/powershell/powershellgallery/issues/new", + "docs-conceptual/**/*": "https://github.com/powershell/powershellgallery/issues/new", "docs-conceptual/learn/remoting/jea/*.md": "https://github.com/powershell/jea/issues/new", "docs-conceptual/windows-powershell/*.md": "https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332" }, - "feedback_system": { - "**/*": "OpenSource" - }, - "open_source_feedback_contributorGuideUrl": { - "**/*": "https://learn.microsoft.com/powershell/scripting/community/contributing/powershell-style-guide" - }, - "open_source_feedback_issueTitle": { - "**/*": "Customer feedback - " - }, - "open_source_feedback_issueLabels": { - "**/*": "needs-triage" - }, - "open_source_feedback_issueUrl": { - "**/*": "https://github.com/MicrosoftDocs/PowerShell-Docs/issues/new?template=04-customer-feedback.yml" - }, - "open_source_feedback_productDescription": { - "**/*": "PowerShell is an open source project. Select a link to provide feedback:" - }, - "open_source_feedback_productLogoLightUrl": { - "**/*": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg" - }, - "open_source_feedback_productLogoDarkUrl": { - "**/*": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg" - }, - "open_source_feedback_productName": { - "**/*": "PowerShell feedback" - }, - "manager": { - "**/*": "jasongroce" - }, - "ms.author": { - "**/*.md": "sewhee", - "**/*.yml": "sewhee", - "docs-conceptual/developer/**/*.md": "slee", - "docs-conceptual/dsc/**/*.md": "migreene", - "docs-conceptual/gallery/**/*.md": "sysmith", - "docs-conceptual/learn/ps101/*.md": "mirobb", - "docs-conceptual/learn/remoting/jea/*.md": "ryanpu" - }, - "ms.prod": { - "**/*.md": "powershell", - "**/*.yml": "powershell" - }, "ms.technology": { "5.1/*.md": "powershell-conceptual", "5.1/*.yml": "powershell-cmdlets", @@ -97,18 +45,11 @@ "7.4/*.yml": "powershell-cmdlets", "docs-conceptual/**/*.md": "powershell-conceptual" }, - "ms.tgt_pltfr": { - "**/**": "windows, macos, linux" - }, "ms.topic": { - "5.1/*.md": "managed-reference", - "5.1/*.yml": "managed-reference", - "7.2/*.md": "managed-reference", - "7.2/*.yml": "managed-reference", - "7.3/*.md": "managed-reference", - "7.3/*.yml": "managed-reference", - "7.4/*.md": "managed-reference", - "7.4/*.yml": "managed-reference", + "5.1/**/*": "managed-reference", + "7.2/**/*": "managed-reference", + "7.3/**/*": "managed-reference", + "7.4/**/*": "managed-reference", "docs-conceptual/**/*.md": "conceptual", "docs-conceptual/dev-cross-plat/**/*.md": "reference", "docs-conceptual/developer/**/*.md": "reference", @@ -120,50 +61,30 @@ "docs-conceptual/samples/**/*.md": "sample" }, "products": { - "5.1/*.md": [ + "5.1/**/*": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "5.1/*.yml": [ - "https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8", - "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" - ], - "7.2/*.md": [ + "7.2/**/*": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.2/*.yml": [ + "7.3/**/*": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.3/*.md": [ + "7.4/**/*": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.3/*.yml": [ + "docs-conceptual/**/*": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ], - "7.4/*.md": [ - "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", - "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" - ], - "7.4/*.yml": [ - "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", - "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" - ], - "docs-conceptual/**/*.md": [ - "https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328", - "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" - ], - "docs-conceptual/windows-powershell/**/*.md": [ + "docs-conceptual/windows-powershell/**/*": [ "https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8", "https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3" ] - }, - "social_image_url": { - "**/*.md": "https://learn.microsoft.com/media/logos/logo-powershell-social.png", - "**/*.yml": "https://learn.microsoft.com/media/logos/logo-powershell-social.png" } }, "globalMetadata": { @@ -173,12 +94,26 @@ "breadcrumb_path": "/powershell/scripting/bread/toc.json", "feedback_github_repo": "MicrosoftDocs/PowerShell-Docs", "feedback_product_url": "https://github.com/PowerShell/PowerShell/issues/new/choose", - "feedback_system": "GitHub", + "feedback_system": "OpenSource", + "open_source_feedback_contributorGuideUrl": "https://learn.microsoft.com/powershell/scripting/community/contributing/powershell-style-guide", + "open_source_feedback_issueTitle": "Customer feedback - ", + "open_source_feedback_issueLabels": "needs-triage", + "open_source_feedback_issueUrl": "https://github.com/MicrosoftDocs/PowerShell-Docs/issues/new?template=04-customer-feedback.yml", + "open_source_feedback_productDescription": "PowerShell is an open source project. Select a link to provide feedback:", + "open_source_feedback_productLogoLightUrl": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg", + "open_source_feedback_productLogoDarkUrl": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg", + "open_source_feedback_productName": "PowerShell feedback", "hideScope": false, + "author": "sdwheeler", + "ms.author": "sewhee", + "manager": "jasongroce", "ms.devlang": "powershell", + "ms.prod": "powershell", + "ms.tgt_pltfr": "windows, macos, linux", "searchScope": [ "PowerShell" ], + "social_image_url": "https://learn.microsoft.com/media/logos/logo-powershell-social.png", "titleSuffix": "PowerShell", "toc_preview": true, "uhfHeaderId": "MSDocsHeader-Powershell"