Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to optionally override templates #1319

Merged
merged 2 commits into from
Feb 14, 2024

Conversation

wasurerarenai
Copy link
Contributor

In some cases its useful to override the templates from this repository with user defined customizations. We can include a simple "bootstrap/overrides" directory to provide a location (and readme example with links) that makejinja will process after running through the repository's baseline configuration. This helps the user keep following this repository for community updates while being able to patch in their own modifications that won't be overwritten and cause merge conflicts (from template repository updates).

This also doubles to provide a location where we can test additions to the repo without needing to modify the source files.

@github-actions github-actions bot added the area/bootstrap Changes made in the bootstrap directory label Feb 14, 2024
@onedr0p onedr0p merged commit 840506c into onedr0p:main Feb 14, 2024
4 checks passed
@wasurerarenai wasurerarenai deleted the user-patches branch February 15, 2024 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Changes made in the bootstrap directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants