-
Notifications
You must be signed in to change notification settings - Fork 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
Added collapsible GA and Preview in each artifact. #17041
Changes from 7 commits
e5375db
3680e2d
69ffb68
f6abe14
2f9c819
5d10c74
edda342
073cb1c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -98,9 +98,9 @@ function GenerateDocfxTocContent([Hashtable]$tocContent, [String]$lang) { | |
LogDebug "Start generating the docfx toc and build docfx site..." | ||
|
||
LogDebug "Initializing Default DocFx Site..." | ||
& $($DocFx) init -q -o "${DocOutDir}" | ||
#& $($DocFx) init -q -o "${DocOutDir}" | ||
# The line below is used for testing in local | ||
#docfx init -q -o "${DocOutDir}" | ||
docfx init -q -o "${DocOutDir}" | ||
LogDebug "Copying template and configuration..." | ||
New-Item -Path "${DocOutDir}" -Name "templates" -ItemType "directory" -Force | ||
Copy-Item "${DocGenDir}/templates/*" -Destination "${DocOutDir}/templates" -Force -Recurse | ||
|
@@ -134,9 +134,9 @@ function GenerateDocfxTocContent([Hashtable]$tocContent, [String]$lang) { | |
Copy-Item "$($RepoRoot)/CONTRIBUTING.md" -Destination "${DocOutDir}/api/CONTRIBUTING.md" -Force | ||
|
||
LogDebug "Building site..." | ||
& $($DocFx) build "${DocOutDir}/docfx.json" | ||
#& $($DocFx) build "${DocOutDir}/docfx.json" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. orthogonal but I'm curious why you don't just remove these and just pass docfx as a parameter? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is better to pass the docfx path in my local run. I am using nuget and npm command to install docfx commands. Have some trouble to find the right path. The best approach is to pass the path as an argument. |
||
# The line below is used for testing in local | ||
#docfx build "${DocOutDir}/docfx.json" | ||
docfx build "${DocOutDir}/docfx.json" | ||
Copy-Item "${DocGenDir}/assets/logo.svg" -Destination "${DocOutDir}/_site/" -Force | ||
} | ||
|
||
|
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.
For testing purpose, will revert the change once ready to merge