Update hyperlink for DefaultPromptFunctionText#13176
Update hyperlink for DefaultPromptFunctionText#13176adityapatwardhan merged 5 commits intoPowerShell:masterfrom
Conversation
The hyperlink was invalid. Fix PowerShell#7795.
|
The same URL is here as well: |
This is a test data source. The test |
|
We should not remove this URL we need to fix it. |
There is no content for |
|
@adityapatwardhan Do we want to fix the help for If we want to fix it, we need to create a new FWLink. The target for that link should point to |
Would that make the existing URL redirect correctly (and thus fix PowerShell 6.2.7 as well), or would it require changing the |
|
@sdwheeler I think we should fix the help content. Could you just update this link to point to the new content? |
|
The existing FWLink @adityapatwardhan Should we document the prompt function (new content) or point to about_Prompts? about_Prompts is more useful information and the plain function syntax that would be returned. |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@yecril71pl Please have a look at suggested changes. |
Co-authored-by: Aditya Patwardhan <[email protected]>
Co-authored-by: Aditya Patwardhan <[email protected]>
The help should be redirected to about_Prompts but it does not work for some reason, so I copied the most important information from there and added a link to full documentation.
|
@sdwheeler Can you please review the comment help content. |
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
| # .Link | ||
| # https://go.microsoft.com/fwlink/?LinkID=225750 | ||
| # https://go.microsoft.com/fwlink/?LinkId=2136843 | ||
| # .Link | ||
| # about_Prompts |
There was a problem hiding this comment.
Don't these help nodes require it to be all uppercase? Or am I misremembering. All the help docs I can recall show them only with uppercase names (i.e., .LINK)
There was a problem hiding this comment.
This is the current declaration and it works.
|
This pull request has been automatically marked as Review Needed because it has been there has not been any activity for 7 days. |
|
@yecril71pl Thank you for your contribution! |
PR Summary
The help hyperlink for
DefaultPromptFunctionText, and hencePrompt, was invalid. Fix #7795.PR Context
Invalid hyperlinks distract and annoy users and decrease productivity.
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.