How to contribute to the docs
PSChristmasTree uses GitHub Pages to host our documentation. This allows us to keep our docs in the repository, without the various limitations that come with the built in GitHub repo wiki.
Contributions welcome:
- Clone the PSChristmasTree repo
- Checkout a new branch
- Commit changes
- Organization is described in the mkdocs.yml file
- mkdocs.yml points to markdown files in the docs folder
- Images are stored and accessible from docs/img
- Submit a pull request to the new branch
Release and quality checklist
For maintainers and contributors preparing larger changes, please refer to the detailed validation steps in the CONTRIBUTING guide.
It contains the necessary commands to run local tests, script analysis and validation (e.g., using Invoke-PSChristmasTreeBuild.ps1).
Git pre-commit hook
A pre-commit hook is available to run tests automatically before every commit. Install it once after cloning:
.\tools\Install-GitHooks.ps1
The hook blocks the commit if any Pester test fails.
CI workflow guidance
The canonical workflows are under .github/workflows/.
- Keep build/test/publish logic in workflow files under this folder only.
- Avoid adding parallel experimental pipeline files at repository root.
- Prefer updating existing workflows over introducing temporary copies.