Skip to content

Commit 4f16edf

Browse files
committed
Include contributions folder
1 parent a5de1d0 commit 4f16edf

File tree

7 files changed

+25
-7
lines changed

7 files changed

+25
-7
lines changed

Pipelines/Scripts/prepare-pages.ps1

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,24 @@ parent: Home
4545
"@
4646
Add-Content -Path $destination -Value (Get-Content -Path (Join-Path $ProjectRoot "CONTRIBUTING.md"))
4747

48+
$fileFolder = Join-Path $docs "contributions"
49+
New-Item -Path $fileFolder -ItemType Directory -Force
50+
51+
Get-ChildItem -Path (Join-Path $ProjectRoot "contributions") -File | ForEach-Object {
52+
# Create file, add front matter, and copy content
53+
$destination = Join-Path $fileFolder $_.Name
54+
$fileTitle = Select-String -Pattern "# (.+)" -Path $_ | Select-Object -First 1
55+
New-Item -Path $destination -ItemType File -Force -Value @"
56+
---
57+
title: $($fileTitle.Matches ? $fileTitle.Matches[0].Groups[1] : $_.BaseName)
58+
parent: Contributing
59+
---
60+
61+
62+
"@
63+
Add-Content -Path $destination -Value (Get-Content -Path $_)
64+
}
65+
4866
$destination = Join-Path $docs "LICENSE.md"
4967
# Create page, add front matter, and copy content
5068
New-Item -Path $destination -ItemType File -Force -Value @"

contributions/code-contributions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Code Contributions
1+
# Code contributions
22

33
This project is an open source project under the BSD 3-Clause license. Community contributions are welcome and appreciated, both for new features and bug fixes.
44

contributions/code-owners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Code Owners
1+
# Code owners
22

33
Code owners are Contributors that a maintain particular parts of the Project, and are defined in [CODEOWNERS](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners) file.
44

contributions/merging-pull-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Approving Pull Requests
1+
# Approving pull requests
22

33
All merges into the `main` branch must be done through a pull request process to ensure changes are reviewed and approved by code owners.
44

contributions/opening-and-assessing-issues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Opening and Assessing Issues
1+
# Opening and assessing issues
22

33
All Contributors can open issues using the templates available for a [bug](https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/issues/new?assignees=&labels=Bug&template=bug-report.md&title=), [document issue](https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/issues/new?assignees=&labels=Documentation&template=documentation-issue.md&title=), [feature request](https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/issues/new?assignees=&labels=Documentation&template=documentation-issue.md&title=), and [security vulnerability](https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity/security/advisories/new). Consider the following when opening a new Project issue:
44

@@ -11,7 +11,7 @@ All Contributors can open issues using the templates available for a [bug](https
1111

1212
## The role
1313

14-
Contributors with the **triage** role can assist with issue assessment.
14+
Contributors with the **triage** role can assist with issue assessment.
1515

1616
## Assessing issues
1717

contributions/project-tenets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MRTK3 Tenets
1+
# Project tenets
22

33
The following are the guiding principles by which the MRTK3 project abides. This is a living document and the list may be modified over time.
44

contributions/versioning-and-releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Versioning and Releases
1+
# Versioning and releases
22

33
## Semantic versioning
44

0 commit comments

Comments
 (0)