@@ -656,26 +656,23 @@ defmodule Mix.Project do
656656 (which defaults to `"_build"`) and a subdirectory. The subdirectory
657657 is built based on two factors:
658658
659- * If `:build_per_environment` is set, the subdirectory is the value
660- of `Mix.env/0` (which can be set via `MIX_ENV`). Otherwise it is
661- set to "shared".
659+ * If `:build_per_environment` is set ( the default), the subdirectory
660+ is the value of `Mix.env/0` (which can be set via `MIX_ENV`).
661+ Otherwise it is set to "shared".
662662
663663 * If `Mix.target/0` is set (often via the `MIX_TARGET` environment
664664 variable), it will be used as a prefix to the subdirectory.
665665
666- Finally, the environment variables `MIX_BUILD_ROOT` and `MIX_BUILD_PATH`
667- can be used to change the result of this function. `MIX_BUILD_ROOT`
668- overwrites only the root `"_build"` directory while keeping the
669- subdirectory as is. It may be useful to change it for caching reasons,
670- typically during Continuous Integration (CI). `MIX_BUILD_PATH` overrides
671- the build path altogether and it typically used by other build tools
672- that invoke the `mix` CLI.
666+ The behaviour of this function can be modified by two environment
667+ variables, `MIX_BUILD_ROOT` and `MIX_BUILD_PATH`, see [the Mix
668+ documentation for more information](Mix.html#environment-variables).
673669
674670 > #### Naming differences {: .info}
675671 >
676672 > Ideally the configuration option `:build_path` would be called
677- > `:build_root`, as it would fully mirror the environment variable.
678- > However, its name is preserved for backwards compatibility.
673+ > `:build_root`, as it only sets the root component of the build
674+ > path but not the subdirectory. However, its name is preserved
675+ > for backwards compatibility.
679676
680677 ## Examples
681678
0 commit comments