Skip to content

Commit a290dc1

Browse files
authored
Add OSS Feedback configuration (#71)
* Ass OSS Feedback configuration * fix metadata
1 parent 7524735 commit a290dc1

2 files changed

Lines changed: 109 additions & 49 deletions

File tree

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: "📄 Feedback control template"
2+
title: "[Documentation feedback] - "
3+
description: >-
4+
⛔ This template is intended for use by the feedback control on the bottom of every page on the
5+
live site. If you aren't using the feedback control, choose one of the other templates.⛔
6+
labels:
7+
- "needs-triage"
8+
body:
9+
- type: markdown
10+
attributes:
11+
value: "## 🎁Enter your feedback🎁"
12+
- type: markdown
13+
attributes:
14+
value: Select the issue type, and describe the issue in the text box below. Add as much detail as needed to help us resolve the issue.
15+
- type: dropdown
16+
id: issue-type
17+
attributes:
18+
label: Type of issue
19+
options:
20+
- Typo
21+
- Code doesn't work
22+
- Missing information
23+
- Outdated article
24+
- Other (describe below)
25+
validations:
26+
required: true
27+
- type: textarea
28+
id: feedback
29+
validations:
30+
required: true
31+
attributes:
32+
label: Feedback
33+
description: >-
34+
If possible, please provide extended details that will add context and help the team update
35+
the documentation. Additional details may not be useful for typos, grammar, formatting, etc.
36+
For technical or factual errors, please include code snippets and output to show how the
37+
documentation is incorrect.
38+
- type: markdown
39+
attributes:
40+
value: "## 🚧 Article information 🚧"
41+
- type: markdown
42+
attributes:
43+
value: "*Don't modify the following fields*. They are automatically filled in for you. Doing so will disconnect your issue from the affected article. *Don't edit them*."
44+
- type: input
45+
id: pageUrl
46+
validations:
47+
required: true
48+
attributes:
49+
label: Page URL
50+
- type: input
51+
id: contentSourceUrl
52+
validations:
53+
required: true
54+
attributes:
55+
label: Content source URL
56+
- type: input
57+
id: author
58+
validations:
59+
required: true
60+
attributes:
61+
label: Author
62+
description: GitHub Id of the author
63+
- type: input
64+
id: documentVersionIndependentId
65+
validations:
66+
required: true
67+
attributes:
68+
label: Document Id

powershell-gallery/docfx.json

Lines changed: 41 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -26,87 +26,79 @@
2626
"exportViewModel": true,
2727
"externalReference": [],
2828
"fileMetadata": {
29-
"author": {
30-
"**/**.md": "sdwheeler",
31-
"**/**.yml": "sdwheeler"
32-
},
3329
"feedback_product_url": {
34-
"docs-conceptual/gallery/**/**.md": "https://github.com/powershell/powershellgallery/issues/new"
30+
"docs-conceptual/concepts/**/*": "https://github.com/powershell/powershellgallery/issues/new",
31+
"docs-conceptual/how-to/**/*": "https://github.com/powershell/powershellgallery/issues/new",
32+
"docs-conceptual/powershellget/**/*": "https://github.com/powershell/psresourceget/issues/new"
33+
},
34+
"feedback_system": {
35+
"**/*": "OpenSource"
36+
},
37+
"open_source_feedback_contributorGuideUrl": {
38+
"**/*": "https://learn.microsoft.com/powershell/scripting/community/contributing/powershell-style-guide"
39+
},
40+
"open_source_feedback_issueTitle": {
41+
"**/*": "Customer feedback - "
42+
},
43+
"open_source_feedback_issueLabels": {
44+
"**/*": "needs-triage"
3545
},
36-
"manager": {
37-
"**/**": "jasongroce"
46+
"open_source_feedback_issueUrl": {
47+
"**/*": "https://github.com/MicrosoftDocs/PowerShell-Docs-Modules/issues/new?template=04-customer-feedback.yml"
3848
},
39-
"ms.author": {
40-
"**/**.md": "sewhee",
41-
"**/**.yml": "sewhee"
49+
"open_source_feedback_productDescription": {
50+
"**/powershellget*/**/*": "PowerShellGet is an open source project. Select a link to provide feedback:"
51+
},
52+
"open_source_feedback_productLogoLightUrl": {
53+
"**/*": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg"
54+
},
55+
"open_source_feedback_productLogoDarkUrl": {
56+
"**/*": "https://learn.microsoft.com/media/logos/logo-powershell-core.svg"
57+
},
58+
"open_source_feedback_productName": {
59+
"powershellget-*/**/*": "PowerShellGet feedback",
60+
"docs-conceptual/concepts/**/*": "PowerShell Gallery feedback",
61+
"docs-conceptual/how-to/**/*": "PowerShell Gallery feedback"
4262
},
4363
"ms.prod": {
44-
"**/**.md": "powershell",
45-
"**/**.yml": "powershell"
64+
"**/*": "powershell"
4665
},
4766
"ms.technology": {
48-
"powershellget-1.x/**.md": "powershell-conceptual",
49-
"powershellget-1.x/**.yml": "powershell-cmdlets",
50-
"powershellget-2.x/**.md": "powershell-conceptual",
51-
"powershellget-2.x/**.yml": "powershell-cmdlets",
52-
"powershellget-3.x/**.md": "powershell-conceptual",
53-
"powershellget-3.x/**.yml": "powershell-cmdlets",
54-
"docs-conceptual/**/**.md": "powershell-conceptual"
67+
"powershellget-*/**.md": "powershell-conceptual",
68+
"powershellget-*/**.yml": "powershell-cmdlets"
5569
},
5670
"ms.tgt_pltfr": {
57-
"**/**": "windows, macos, linux"
71+
"**/*": "windows, macos, linux"
5872
},
5973
"ms.topic": {
60-
"powershellget-1.x/**.md": "managed-reference",
61-
"powershellget-1.x/**.yml": "managed-reference",
62-
"powershellget-2.x/**.md": "managed-reference",
63-
"powershellget-2.x/**.yml": "managed-reference",
64-
"powershellget-3.x/**.md": "managed-reference",
65-
"powershellget-3.x/**.yml": "managed-reference",
66-
"docs-conceptual/**/**.md": "conceptual",
74+
"powershellget-*/*": "managed-reference"
6775
},
6876
"products": {
69-
"docs-conceptual/**/**.md": [
70-
"https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328",
71-
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
72-
],
73-
"powershellget-1.x/**.md": [
74-
"https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8",
75-
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
76-
],
77-
"powershellget-1.x/**.yml": [
78-
"https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8",
79-
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
80-
],
81-
"powershellget-2.x/**.md": [
77+
"docs-conceptual/**/*": [
8278
"https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328",
8379
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
8480
],
85-
"powershellget-2.x/**.yml": [
81+
"powershellget-*/*.md": [
8682
"https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8",
8783
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
8884
],
89-
"powershellget-3.x/**.md": [
85+
"powershellget-*/*.yml": [
9086
"https://authoring-docs-microsoft.poolparty.biz/devrel/56936876-97d9-45cc-ad1b-9d63320447c8",
9187
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
9288
],
93-
"powershellget-3.x/**.yml": [
94-
"https://authoring-docs-microsoft.poolparty.biz/devrel/2bdae855-045f-4535-b365-7b2e23824328",
95-
"https://authoring-docs-microsoft.poolparty.biz/devrel/8bce367e-2e90-4b56-9ed5-5e4e9f3a2dc3"
96-
]
9789
},
9890
"social_image_url": {
99-
"**/**.md": "https://learn.microsoft.com/media/logos/logo-powershell-social.png",
100-
"**/**.yml": "https://learn.microsoft.com/media/logos/logo-powershell-social.png"
91+
"**/*": "https://learn.microsoft.com/media/logos/logo-powershell-social.png"
10192
}
10293
},
10394
"globalMetadata": {
10495
"breadcrumb_path": "/powershell/gallery/breadcrumb/toc.json",
10596
"extendBreadcrumb": true,
10697
"feedback_github_repo": "MicrosoftDocs/PowerShell-Docs-PSGet",
10798
"feedback_product_url": "https://github.com/PowerShell/PowerShellGet/issues/new/choose",
108-
"feedback_system": "GitHub",
99+
"manager": "jasongroce",
109100
"ms.author": "sewhee",
101+
"author": "sdwheeler",
110102
"ms.devlang": "powershell",
111103
"ms.prod": "powershell",
112104
"searchScope": [

0 commit comments

Comments
 (0)