1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-09 05:59:15 +00:00

doc refactor

This commit is contained in:
deadc0de6
2020-09-14 21:25:37 +02:00
parent c4daad4fa5
commit e6f31a27b9
3 changed files with 5 additions and 4 deletions

View File

@@ -172,8 +172,8 @@ dotfiles:
For examples of transformation uses, see For examples of transformation uses, see
* [Store compressed directories](howto/store-compressed-directories.md) * [Handle compressed directories](howto/store-compressed-directories.md)
* [Sensitive dotfiles](howto/sensitive-dotfiles.md) * [Handle secrets](howto/sensitive-dotfiles.md)
**Note**: any transformation with a key starting with an underscore (`_`) won't be shown in output. **Note**: any transformation with a key starting with an underscore (`_`) won't be shown in output.
This can be useful when working with sensitive data containing passwords for example. This can be useful when working with sensitive data containing passwords for example.

View File

@@ -25,9 +25,9 @@ Following variables are available in templates:
* `{{@@ profile @@}}` contains the profile provided to dotdrop. * `{{@@ profile @@}}` contains the profile provided to dotdrop.
* `{{@@ env['MY_VAR'] @@}}` contains environment variables (see [Environment variables](#environment-variables)). * `{{@@ env['MY_VAR'] @@}}` contains environment variables (see [Environment variables](#environment-variables)).
* `{{@@ header() @@}}` contains dotdrop header (see [Dotdrop header](#dotdrop-header)). * `{{@@ header() @@}}` contains dotdrop header (see [Dotdrop header](#dotdrop-header)).
* `{{@@ _dotdrop_dotpath @@}}` contains the [dotpath](config.md) absolute path. * `{{@@ _dotdrop_dotpath @@}}` contains the [dotpath](config-format.md) absolute path.
* `{{@@ _dotdrop_cfgpath @@}}` contains the absolute path to the [config file](config.md). * `{{@@ _dotdrop_cfgpath @@}}` contains the absolute path to the [config file](config.md).
* `{{@@ _dotdrop_workdir @@}}` contains the [workdir](config.md) absolute path. * `{{@@ _dotdrop_workdir @@}}` contains the [workdir](config-format.md) absolute path.
* dotfile specific variables (see [Dotfile variables](#dotfile-variables)) * dotfile specific variables (see [Dotfile variables](#dotfile-variables))
* config variables (see [Variables](config.md#variables)). * config variables (see [Variables](config.md#variables)).
* config interpreted variables (see [Interpreted variables](config-details.md#entry-dynvariables)). * config interpreted variables (see [Interpreted variables](config-details.md#entry-dynvariables)).

View File

@@ -9,6 +9,7 @@ theme:
collapse_navigation: false collapse_navigation: false
use_directory_urls: true use_directory_urls: true
nav: nav:
- Dotdrop: 'README.md'
- Installation: 'installation.md' - Installation: 'installation.md'
- 'Repository setup': 'repository-setup.md' - 'Repository setup': 'repository-setup.md'
- Usage: 'usage.md' - Usage: 'usage.md'