File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -13,16 +13,14 @@ Foreach-Object {
1313 $outfile = Join-Path - Path $outdir - ChildPath ($_.BaseName + " .html" )
1414
1515 # If building from AppVeyor, the version will be populated. In that case,
16- # resource paths need to be prefixed with "/appveyor /<version>"
16+ # resource paths need to be prefixed with "/vue-tree /<version>"
1717 $siteRoot = $env: package_version
1818 if (-not [System.String ]::IsNullOrEmpty($siteRoot )) {
1919 $siteRoot = -Join (" /vue-tree/" , $siteRoot );
2020 }
2121
22- Write-Host " .md outfile" $outfile
23-
24- # Invoke (&) the pandoc command
25- if ($outfile.Contains (" \demo\" )) {
22+ # Invoke (&) the pandoc command; check here for either Windows or *nix separator
23+ if ($outfile.Contains (" \demo\" ) -or $outfile.Contains (" /demo/" )) {
2624 & pandoc - s -- template= templates/ base.html5 -- metadata- file= metadata.yaml - V site- root= $siteRoot - o $outfile metadata.demo.yaml $_.FullName
2725 }
2826 else {
Original file line number Diff line number Diff line change 33 "description" : " Yet another Vue treeview component." ,
44 "author" : " Gregg Rapoza <grapoza@gmail.com>" ,
55 "license" : " MIT" ,
6- "version" : " 0.10.4 " ,
6+ "version" : " 0.10.5 " ,
77 "browser" : " index.js" ,
88 "repository" : {
99 "url" : " https://github.com/grapoza/vue-tree" ,
You can’t perform that action at this time.
0 commit comments