Skip to content

Commit 0288524

Browse files
committed
Test
1 parent 5990283 commit 0288524

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Pipelines/Scripts/prepare-pages.ps1

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ Copy-Item -Path (Join-Path $ProjectRoot "images" "*") -Destination $images -Recu
2121
Copy-Item -Path (Join-Path $ProjectRoot "org.mixedrealitytoolkit.standardassets" "Textures" "Logos" "MRTK_Logo_White.png") -Destination $images -Force
2222
Copy-Item -Path (Join-Path $ProjectRoot "org.mixedrealitytoolkit.standardassets" "Textures" "Logos" "IconMRTKLogo.png") -Destination $images -Force
2323

24+
$licenseDestination = Join-Path $docs "LICENSE.md"
25+
# Create home page, add front matter, and copy content
26+
New-Item -Path $licenseDestination -ItemType File -Force -Value @"
27+
---
28+
title: License
29+
nav_order: 1
30+
parent: Home
31+
---
32+
33+
34+
"@
35+
Add-Content -Path $licenseDestination -Value (Get-Content -Path (Join-Path $ProjectRoot "LICENSE.md"))
36+
2437
$indexDestination = Join-Path $docs "index.md"
2538
# Create home page, add front matter, and copy content
2639
New-Item -Path $indexDestination -ItemType File -Force -Value @"

docs/_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: MRTK3 is the third generation of the Mixed Reality Toolkit for Unit
33
theme: just-the-docs
44
color_scheme: dark
55

6-
include: [ 'CONTRIBUTING.md', 'LICENSE.md', 'CHANGELOG.md' ,'GOVERNANCE.md']
6+
include: [ 'CONTRIBUTING.md', 'docs/LICENSE.md', '**/CHANGELOG.md' ,'GOVERNANCE.md']
77

88
url: https://mixedrealitytoolkit.github.io/MixedRealityToolkit-Unity/
99
logo: "/images/MRTK_Logo_White.png"

0 commit comments

Comments
 (0)