-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update documentation to reference 'config.toml' instead of 'config'. #7323
Comments
I think I got my 6-month-ish ping on this, where now is likely a good time we can start rewriting documentation to reference |
Does this mean changing ### Hierarchical structure
Cargo allows local configuration for a particular package as well as global
configuration. It looks for configuration files in the current directory and
all parent directories. If, for example, Cargo were invoked in
`/projects/foo/bar/baz`, then the following configuration files would be
probed for and unified in this order:
* `/projects/foo/bar/baz/.cargo/config`
* `/projects/foo/bar/.cargo/config`
* `/projects/foo/.cargo/config`
* `/projects/.cargo/config`
* `/.cargo/config` into |
Indeed yeah that'd be a great start! I suspect there are more mentions of |
Update documentation to mention "config.toml" instead of "config" I searched for the reference of `config` and `credentials` in `src/doc` and changed to `config.toml` and `credentials.toml` accroding to the context. #7323
@huangjiahua I believed this issue is already fixed? |
@pickfire Yeah, I think so. |
Oops, thanks for the ping! |
Describe the problem you are trying to solve
After #7273, we now support loading 'config.toml' and 'credentials.toml' in place of the same files without extension, which used to be the default. Files with extensions are easier for people to edit due to syntax highlighting, etc.
Describe the solution you'd like
We should update all Cargo documentation to mention 'config.toml' and 'credentials.toml' so people use those by default instead of the versions without extension.
The text was updated successfully, but these errors were encountered: