diff --git a/docs/shared/recipes/running-tasks/configure-inputs.md b/docs/shared/recipes/running-tasks/configure-inputs.md index 93ac0af730..f1d9aee3a1 100644 --- a/docs/shared/recipes/running-tasks/configure-inputs.md +++ b/docs/shared/recipes/running-tasks/configure-inputs.md @@ -62,8 +62,6 @@ This will show the task graph executed by Nx when running the command. Clicking the task will open a tooltip which lists out all of the inputs of the task. A button within the tooltip will also reveal more details about the configuration for the project which the task belongs to. -[//]: # 'TODO: add gif here' - Doing so will show a view such as the one below: {% project-details jsonFile="shared/concepts/myreactapp.json"%} diff --git a/docs/shared/recipes/running-tasks/configure-outputs.md b/docs/shared/recipes/running-tasks/configure-outputs.md index 04ed8021d5..6bde543471 100644 --- a/docs/shared/recipes/running-tasks/configure-outputs.md +++ b/docs/shared/recipes/running-tasks/configure-outputs.md @@ -31,7 +31,7 @@ These outputs files can be specified in several ways: ] ``` -All outputs explicitly specifying paths must be prefixed with either `{projectRoot}` or `{workspaceRoot}` to distinguish where the path is resolved from. `{workspaceRoot}` should only appear in the beginning of an `output` but `{projectRoot}` and `{projectName}` can be specified later in the `output` to interpolate the root or name of the a project into the output location. +All outputs explicitly specifying paths must be prefixed with either `{projectRoot}` or `{workspaceRoot}` to distinguish where the path is resolved from. `{workspaceRoot}` should only appear in the beginning of an `output` but `{projectRoot}` and `{projectName}` can be specified later in the `output` to interpolate the root or name of the project into the output location. Outputs can also be determined from the `options` of running a task via the `{options.[propertyName]}` syntax. This is useful when an option for the task determines the output location and could be modified when the task is run. diff --git a/docs/shared/reference/inputs.md b/docs/shared/reference/inputs.md index 1d63c29c23..24940121c5 100644 --- a/docs/shared/reference/inputs.md +++ b/docs/shared/reference/inputs.md @@ -32,7 +32,7 @@ Source file inputs are defined like this: } ``` -Source file inputs must be prefixed with either `{projectRoot}` or `{workspaceRoot}` to distinguish where the paths should be resolved from. +Source file inputs must be prefixed with either `{projectRoot}` or `{workspaceRoot}` to distinguish where the paths should be resolved from. `{workspaceRoot}` should only appear in the beginning of an input but `{projectRoot}` and `{projectName}` can be specified later in the input to interpolate the root or name of the project into the input location. Prefixing a source file input with `!` will exclude the files matching the pattern from the set of files used to calculate the hash. Prefixing a source file input with `^` means this entry applies to the project dependencies of the project, not the project itself.