-
Notifications
You must be signed in to change notification settings - Fork 907
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
(#3446) (ENGTASKS-3631) Update GenerateDocs.ps1 #3447
Conversation
This can be reviewed, but it may not be ready to merge until the Astro bits are ready to go into docs. |
This can not be released until after this PR has been merged: chocolatey/docs#993 The merging of this PR may require more changes to be made here, and changes to the files in the PR above might need to be fixed up to support Astro. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
The GenerateDocs.ps1 file has been modified to support the Astro framework that docs.chocolatey.org will be using. - Frontmatter keys are lowercase - import the Xref Component - Switch links to use the Xref Component - Ensure all code is within code blocks and not 4 spaces (.mdx does not recognize code blocks as 4 spaces) - Ensure NOTE and WARNINGS are formatted correctly - Update comments to use `{/* stuff */}` instead of `<!-- stuff -->` - Change file format to `.mdx`
Strip out some things platyps falls over on, and add some things back in after platyPS is done that we want/need the docs site to have.
Use xml to process xref nodes in the document.
I am going to go ahead and merge this, since we don't need to wait on the CI builds passing. |
Description Of Changes
The GenerateDocs.ps1 file has been modified to support the Astro framework that docs.chocolatey.org will be using.
{/* stuff */}
instead of<!-- stuff -->
.mdx
Motivation and Context
The documentation site has been switched to the Astro framework, and the changes here allow it to build.
Testing
GenerateDocs.ps1
file and copied the results into the docs repo.Change Types Made
Change Checklist
Related Issue
Fixes #3446