Skip to content

Commit 9421463

Browse files
authored
Merge pull request #101 from grapoza/more-doc-fixes
Further doc fixes
2 parents 0be67e9 + e9d1752 commit 9421463

File tree

7 files changed

+10
-8
lines changed

7 files changed

+10
-8
lines changed

docs/demo/addRemove.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title-prefix: Add/Delete Demo
33
...
44

5-
[Back to Demos list](/demos.html)
5+
[Back to Demos list](../demos.html)
66

77
## Add/Remove Nodes Demo
88

docs/demo/basic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title-prefix: Basic Checkboxes Demo
33
...
44

5-
[Back to Demos list](/demos.html)
5+
[Back to Demos list](../demos.html)
66

77
## Basic Treeview Checkbox Demo
88

docs/demo/radioBasic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title-prefix: Basic Radiobutton Demo
33
...
44

5-
[Back to Demos list](/demos.html)
5+
[Back to Demos list](../demos.html)
66

77
## Basic Treeview Radio Button Demo
88

docs/demo/slots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title-prefix: Slots Demo
33
...
44

5-
[Back to Demos list](/demos.html)
5+
[Back to Demos list](../demos.html)
66

77
## Slots Demo
88

docs/generateDocs.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Write-Host "Building docs in " $PSScriptRoot
1+
Write-Host "Building docs in" $PSScriptRoot
22

33
Get-ChildItem $PSScriptRoot\* -Recurse -Include *.md, *.css, *.js, *.png | Where-Object { -not $_.PsIsContainer -and $_.DirectoryName -notmatch 'output' } |
44
Foreach-Object {
5-
Write-Host "Processing " $_.FullName
5+
Write-Host "Processing" $_.FullName
66

77
# Create the dir if it doesn't exist.
88
$outdir = $_.DirectoryName.Replace($PSScriptRoot, (Join-Path -Path $PSScriptRoot -ChildPath "output"))
@@ -19,6 +19,8 @@ Foreach-Object {
1919
$siteRoot = -Join ("/vue-tree/", $siteRoot);
2020
}
2121

22+
Write-Host " .md outfile" $outfile
23+
2224
# Invoke (&) the pandoc command
2325
if ($outfile.Contains("\demo\")) {
2426
& pandoc -s --template=templates/base.html5 --metadata-file=metadata.yaml -V site-root=$siteRoot -o $outfile metadata.demo.yaml $_.FullName

docs/templates/base.html5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ $if(title)$
4242
$if(showgithub)$
4343
<a id="github-banner" href="$githuburl$">View on GitHub</a>
4444
$endif$
45-
<h1 class="title"><a href="/">$title$</a></h1>
45+
<h1 class="title"><a href="$if(site-root)$$site-root$$endif$/">$title$</a></h1>
4646
$if(subtitle)$
4747
<p class="subtitle">$subtitle$</p>
4848
$endif$

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Yet another Vue treeview component.",
44
"author": "Gregg Rapoza <grapoza@gmail.com>",
55
"license": "MIT",
6-
"version": "0.10.3",
6+
"version": "0.10.4",
77
"browser": "index.js",
88
"repository": {
99
"url": "https://github.com/grapoza/vue-tree",

0 commit comments

Comments
 (0)