Skip to content

Commit 58f99e4

Browse files
committed
Test
1 parent c62aea4 commit 58f99e4

File tree

2 files changed

+35
-9
lines changed

2 files changed

+35
-9
lines changed

Pipelines/Scripts/prepare-pages.ps1

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ 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 @"
24+
$destination = Join-Path $docs "LICENSE.md"
25+
# Create page, add front matter, and copy content
26+
New-Item -Path $destination -ItemType File -Force -Value @"
2727
---
2828
title: License
2929
nav_order: 1
@@ -32,19 +32,45 @@ parent: Home
3232
3333
3434
"@
35-
Add-Content -Path $licenseDestination -Value (Get-Content -Path (Join-Path $ProjectRoot "LICENSE.md"))
35+
Add-Content -Path $destination -Value (Get-Content -Path (Join-Path $ProjectRoot "LICENSE.md"))
3636

37-
$indexDestination = Join-Path $docs "index.md"
38-
# Create home page, add front matter, and copy content
39-
New-Item -Path $indexDestination -ItemType File -Force -Value @"
37+
$destination = Join-Path $docs "MAINTAINERS.md"
38+
# Create page, add front matter, and copy content
39+
New-Item -Path $destination -ItemType File -Force -Value @"
40+
---
41+
title: Maintainers
42+
nav_order: 2
43+
parent: Home
44+
---
45+
46+
47+
"@
48+
Add-Content -Path $destination -Value (Get-Content -Path (Join-Path $ProjectRoot "MAINTAINERS.md"))
49+
50+
$destination = Join-Path $docs "GOVERNANCE.md"
51+
# Create page, add front matter, and copy content
52+
New-Item -Path $destination -ItemType File -Force -Value @"
53+
---
54+
title: Governance
55+
nav_order: 3
56+
parent: Home
57+
---
58+
59+
60+
"@
61+
Add-Content -Path $destination -Value (Get-Content -Path (Join-Path $ProjectRoot "GOVERNANCE.md"))
62+
63+
$destination = Join-Path $docs "index.md"
64+
# Create page, add front matter, and copy content
65+
New-Item -Path $destination -ItemType File -Force -Value @"
4066
---
4167
title: Home
4268
nav_order: 1
4369
---
4470
4571
4672
"@
47-
Add-Content -Path $indexDestination -Value (Get-Content -Path (Join-Path $ProjectRoot "README.md"))
73+
Add-Content -Path $destination -Value (Get-Content -Path (Join-Path $ProjectRoot "README.md"))
4874

4975
# Convert GitHub admonitions to just-the-docs syntax for in-place docs files
5076
# We leave them checked-in so they render correctly in the GitHub repo, but we convert them for Pages

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', 'docs/LICENSE.md', '**/CHANGELOG.md' ,'GOVERNANCE.md']
6+
include: [ 'CONTRIBUTING.md', '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)