Skip to content

Commit

Permalink
Fix docs of Usage - Build - Stapel
Browse files Browse the repository at this point in the history
Signed-off-by: Zhbert <[email protected]>
  • Loading branch information
Zhbert authored and alexey-igrychev committed May 14, 2024
1 parent 903ceb3 commit 97fa211
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/pages_en/usage/build/stapel/imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import:
after: setup
```

As with the _git mappings_ configuration, include and exclude file and directory masks are supported (`include_paths: []` and `exclude_paths: []`, respectively). Masks must be specified relative to the source path (as in the `add` parameter).
As with the _git mappings_ configuration, include and exclude file and directory masks are supported (`includePaths: []` and `excludePaths: []`, respectively). Masks must be specified relative to the source path (as in the `add` parameter).
You can also specify an owner and a group for the imported resources, `owner: <owner>` and `group: <group>`.
This behavior is similar to the one used when adding code from Git repositories, and you can read more about it in the [git directive section]({{ "usage/build/stapel/git.html" | true_relative_url }}).

Expand Down
2 changes: 1 addition & 1 deletion docs/pages_ru/usage/build/stapel/imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import:
```

Так же, как и при конфигурации _git mappings_, поддерживаются маски включения и исключения файлов и каталогов.
Для указания маски включения файлов используется параметр `include_paths: []`, а для исключения `exclude_paths: []`. Маски указываются относительно пути источника (параметр `add`).
Для указания маски включения файлов используется параметр `includePaths: []`, а для исключения `excludePaths: []`. Маски указываются относительно пути источника (параметр `add`).
Вы также можете указывать владельца и группу для импортируемых ресурсов с помощью параметров `owner: <owner>` и `group: <group>` соответственно.
Это поведение аналогично используемому при добавлении кода из Git-репозиториев, и вы можете подробнее почитать об этом [в соответствующем разделе]({{ "usage/build/stapel/git.html" | true_relative_url }}).

Expand Down

0 comments on commit 97fa211

Please sign in to comment.