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

make template location configurable #54

Open
JuliaSprenger opened this issue May 24, 2022 · 1 comment
Open

make template location configurable #54

JuliaSprenger opened this issue May 24, 2022 · 1 comment
Milestone

Comments

@JuliaSprenger
Copy link
Collaborator

Currently a fixed set of templates is shipped with the DigLabTools version. However, to allow for custom templates a configurable template location is necessary.

@JuliaSprenger
Copy link
Collaborator Author

This feature should introduce a new key in the config.yml named template_folder. Templates in this folder should be used with priority over the ones shipped with DigLabTools. i.e. for a give name of a template first we check a template_folder was specified and if the template exists in that location, otherwise the default location is checked. If the the template does not exist in both an error should be raised.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant