-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Online Version implementation #123
Milestone
Comments
Ah, thank you for the explanation Tim! |
Nice to know! I need to correct this in a module I'm getting close to
publishing.
|
Fixed in 00c99ac |
Forgot to add corresponding logic in markdown generator |
Second part fixed via 6534fe3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All topics, for instance, Add-History under Related Links –
The Online Version link appears in the Related Links section. According to the PowerShell spec, the -Online switch works by redirecting to the first URL in the Related Topics section. This was handled behind the scenes in Dx, assuring that the first was the link in the list of links.
If people add related topics to the cmdlet in markdown, and if they add them at the top, the -Online switch will go to their new link, not the intended one.
We need to store the online link in the markdown metadata. PlatyPS could check the metadata against the links in the related section (per discussion in today's meeting). If somebody does add a new link over the current links, the MD > MAML conversion could move it back to being first.
(There is also a colon after the words Online Version, which looks bad. I don't know whether it's required by the PS engine, since it appears in the spec.)
The text was updated successfully, but these errors were encountered: