Skip to content
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

Update *-Metadata cmdlet and Test-HelpInfoUri #156

Merged
merged 2 commits into from
Nov 25, 2024

Conversation

sdwheeler
Copy link
Contributor

PR Summary

  • Before this PR, the *-Metadata cmdlets did a naive parse of the metadata to isolate the frontmatter metadata. This PR changes the code to use Get-Document to parse the markdown and return the body and the frontmatter as properties of an object.
  • Adds the AsJson parameter to Get-Metadata so that you can get the metadata as a JSON object.
  • Add the HelpInfoUri parameter to Test-HelpInfoUri so you can override the HelpInfoUri property of a module. This allows you to test a new HelpInfoUri before changing the module manifest.

PR Checklist

Copy link

netlify bot commented Nov 22, 2024

Deploy Preview for quiet-snickerdoodle-38a82c ready!

Name Link
🔨 Latest commit 1658f3d
🔍 Latest deploy log https://app.netlify.com/sites/quiet-snickerdoodle-38a82c/deploys/6740f38ccc68d90008eff87f
😎 Deploy Preview https://deploy-preview-156--quiet-snickerdoodle-38a82c.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@michaeltlombardi michaeltlombardi merged commit f3d5f5f into microsoft:main Nov 25, 2024
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants