We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ef945 commit ccf91adCopy full SHA for ccf91ad
Pipelines/Scripts/prepare-pages.ps1
@@ -76,7 +76,7 @@ Add-Content -Path $destination -Value (Get-Content -Path (Join-Path $ProjectRoot
76
# We leave them checked-in so they render correctly in the GitHub repo, but we convert them for Pages
77
Get-ChildItem -Path (Join-Path $docs "*" "*.md") -Recurse | ForEach-Object {
78
$fileContent = Get-Content -Path $_
79
- Set-Content -Path $_ -Value ($fileContent -replace "> \[!(\w+)\]", { "{: .$("$($_.Groups[1])".ToLower()) }" })
+ Set-Content -Path $_ -Value ($fileContent -replace "> \[!(\w+)\]", { "{: .$("$($_.Groups[1])".ToLower()) }" } -replace "docs/", "")
80
}
81
82
# Loop through package directories and copy documentation
0 commit comments