Skip to content

Commit

Permalink
fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
couleurm committed Feb 24, 2024
1 parent d80dbb3 commit bb54456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildMap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Set-Content ./map.md -Value @'
$ret -replace '#', '##' -replace "\.md" -replace "/index" | Add-Content ./map.md


if (-not(Test-Path ./map)) {
if (-not(Test-Path ./docs/map)) {
mkdir map | out-null
}

Expand All @@ -53,6 +53,6 @@ if (-not(Get-Command markmap -ErrorAction Ignore)) {
npm install -g markmap-cli
}

markmap ./map.md --offline --no-toolbar --no-open -o ./map/index.html
markmap ./map.md --offline --no-toolbar --no-open -o ./docs/map/index.html

remove-item ./map.md

0 comments on commit bb54456

Please sign in to comment.