Skip to content

Commit

Permalink
docs: remove the term "modules" from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vvagaytsev committed Apr 3, 2023
1 parent dd166d1 commit 6c3835b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions core/src/config/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ const projectScanSchema = createSchema({
.items(joi.posixPath().allowGlobs().subPathOnly())
.description(
dedent`
Specify a list of POSIX-style paths or globs that should be scanned for Garden modules.
Specify a list of POSIX-style paths or globs that should be scanned for Garden configuration files.
Note that you can also _exclude_ path using the \`exclude\` field or by placing \`.gardenignore\` files in your source tree, which use the same format as \`.gitignore\` files. See the [Configuration Files guide](${includeGuideLink}) for details.
Expand All @@ -237,7 +237,7 @@ const projectScanSchema = createSchema({
.items(joi.posixPath().allowGlobs().subPathOnly())
.description(
dedent`
Specify a list of POSIX-style paths or glob patterns that should be excluded when scanning for modules.
Specify a list of POSIX-style paths or glob patterns that should be excluded when scanning for configuration files.
The filters here also affect which files and directories are watched for changes. So if you have a large number of directories in your project that should not be watched, you should specify them here.
Expand Down
9 changes: 5 additions & 4 deletions docs/reference/project-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ proxy:

# Control where to scan for configuration files in the project.
scan:
# Specify a list of POSIX-style paths or globs that should be scanned for Garden modules.
# Specify a list of POSIX-style paths or globs that should be scanned for Garden configuration files.
#
# Note that you can also _exclude_ path using the `exclude` field or by placing `.gardenignore` files in your source
# tree, which use the same format as `.gitignore` files. See the [Configuration Files
Expand All @@ -123,7 +123,8 @@ scan:
# Also note that specifying an empty list here means _no paths_ should be included.
include:

# Specify a list of POSIX-style paths or glob patterns that should be excluded when scanning for modules.
# Specify a list of POSIX-style paths or glob patterns that should be excluded when scanning for configuration
# files.
#
# The filters here also affect which files and directories are watched for changes. So if you have a large number of
# directories in your project that should not be watched, you should specify them here.
Expand Down Expand Up @@ -509,7 +510,7 @@ Control where to scan for configuration files in the project.

[scan](#scan) > include

Specify a list of POSIX-style paths or globs that should be scanned for Garden modules.
Specify a list of POSIX-style paths or globs that should be scanned for Garden configuration files.

Note that you can also _exclude_ path using the `exclude` field or by placing `.gardenignore` files in your source tree, which use the same format as `.gitignore` files. See the [Configuration Files guide](https://docs.garden.io/using-garden/configuration-overview#including-excluding-files-and-directories) for details.

Expand All @@ -534,7 +535,7 @@ scan:

[scan](#scan) > exclude

Specify a list of POSIX-style paths or glob patterns that should be excluded when scanning for modules.
Specify a list of POSIX-style paths or glob patterns that should be excluded when scanning for configuration files.

The filters here also affect which files and directories are watched for changes. So if you have a large number of directories in your project that should not be watched, you should specify them here.

Expand Down

0 comments on commit 6c3835b

Please sign in to comment.