-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Restructuring generate-doc code folder #5252
Conversation
KarishmaGhiya
commented
Sep 25, 2019
- Collapsing all the required dependencies for scripts to one package.json
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.
Looks good. Putting DocArgs
up in the parameters
block is important for keeping our templates clean and readable. The rest are suggestions.
50b9f71
to
38b9a52
Compare
7826e2d
to
ad3ac8a
Compare
Copy-Item "$(Build.SourcesDirectory)/eng/tools/generate-static-index/static-files/docfx.json" -Destination "$(Build.SourcesDirectory)/docfx_project/" -Force | ||
displayName: Copy over docfx.json | ||
|
||
- script: | |
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.
Looks like you are doing a lot of one line script or pswh commands you should consider consolidating them into a smaller number of pwsh or script steps.
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.
So the way we have them right now is we have segregated the steps based on the logical purpose and also if there are any failures we can identify them easily