mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-14 17:37:26 +00:00
precedence doc for #443
This commit is contained in:
4
CONTRIBUTING.md
vendored
4
CONTRIBUTING.md
vendored
@@ -103,6 +103,10 @@ levels in not accurate anymore.
|
||||
* Profile `(dyn)variables` > profile's included `(dyn)variables`
|
||||
* Imported `variables`/`dynvariables` > `(dyn)variables`
|
||||
|
||||
When `import_configs` importing config's elements except the `(dyn)variables`
|
||||
will take precedence in case of name clash
|
||||
(see <https://github.com/deadc0de6/dotdrop/issues/443>).
|
||||
|
||||
## Variable resolution
|
||||
|
||||
How variables are resolved (through Jinja2's
|
||||
|
||||
4
docs/config/config-config.md
vendored
4
docs/config/config-config.md
vendored
@@ -187,6 +187,10 @@ import_configs:
|
||||
- other-config.yaml:optional
|
||||
```
|
||||
|
||||
In case of a name clash (same name in importing and imported configs),
|
||||
the importing config will take precedence except for the `variables` and `dynvariables`
|
||||
(see [variable](config-file.md#variables) and [CONTRIBUTING doc](/CONTRIBUTING.md)).
|
||||
|
||||
## default_actions entry
|
||||
|
||||
Dotdrop allows to execute an action for any dotfile installation. These actions work as any other action (`pre` or `post`).
|
||||
|
||||
Reference in New Issue
Block a user