mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 02:19:14 +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`
|
* Profile `(dyn)variables` > profile's included `(dyn)variables`
|
||||||
* Imported `variables`/`dynvariables` > `(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
|
## Variable resolution
|
||||||
|
|
||||||
How variables are resolved (through Jinja2's
|
How variables are resolved (through Jinja2's
|
||||||
|
|||||||
6
docs/config/config-config.md
vendored
6
docs/config/config-config.md
vendored
@@ -187,6 +187,10 @@ import_configs:
|
|||||||
- other-config.yaml:optional
|
- 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
|
## default_actions entry
|
||||||
|
|
||||||
Dotdrop allows to execute an action for any dotfile installation. These actions work as any other action (`pre` or `post`).
|
Dotdrop allows to execute an action for any dotfile installation. These actions work as any other action (`pre` or `post`).
|
||||||
@@ -223,4 +227,4 @@ Note:
|
|||||||
* directories will **not** be backed up, only files
|
* directories will **not** be backed up, only files
|
||||||
* when using a different `link` value than `nolink` with directories,
|
* when using a different `link` value than `nolink` with directories,
|
||||||
the files under the directory will **not** be backed up
|
the files under the directory will **not** be backed up
|
||||||
(See [Symlinking dotfiles](config-file.md#symlinking-dotfiles)),
|
(See [Symlinking dotfiles](config-file.md#symlinking-dotfiles)),
|
||||||
|
|||||||
Reference in New Issue
Block a user