Skip to content

Commit

Permalink
Move settings reference to reference section
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Aug 1, 2024
1 parent 708d6aa commit 1f5ce90
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
5 changes: 4 additions & 1 deletion crates/uv-dev/src/generate_options_reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ pub(crate) struct Args {
pub(crate) fn main(args: &Args) -> Result<()> {
let reference_string = generate();
let filename = "settings.md";
let reference_path = PathBuf::from(ROOT_DIR).join("docs").join(filename);
let reference_path = PathBuf::from(ROOT_DIR)
.join("docs")
.join("reference")
.join(filename);

match args.mode {
Mode::DryRun => {
Expand Down
4 changes: 4 additions & 0 deletions docs/configuration/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,7 @@ persistent configuration.
uv also accepts a `--config-file` command-line argument, which accepts a path to a `uv.toml` to use
as the configuration file. When provided, this file will be used in place of _any_ discovered
configuration files (e.g., user-level configuration will be ignored).

## Settings

See the [settings reference](../reference/settings.md) for an enumeration of the available settings.
4 changes: 1 addition & 3 deletions docs/configuration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@ Read about the various ways to configure uv:
- [Using environment variables](./environment.md)
- [Configuring authentication](./authentication.md)

<!-- TODO(zanieb): Move generated settings reference to correct section -->

Or, jump to the [settings reference](../settings.md) which enumerates the available configuration
Or, jump to the [settings reference](../reference/settings.md) which enumerates the available configuration
options.
File renamed without changes.
2 changes: 1 addition & 1 deletion mkdocs.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ nav:
- configuration/index.md
- Configuration files: configuration/files.md
- Environment variables: configuration/environment.md
- Settings: settings.md
- Authentication: configuration/authentication.md
- Integration guides:
- guides/integration/index.md
Expand All @@ -122,6 +121,7 @@ nav:
- Compatibility with pip: pip/compatibility.md
- Reference:
- Commands: reference/cli.md
- Settings: settings.md
- Policies:
- Versioning: versioning.md
- Platform support: platforms.md

0 comments on commit 1f5ce90

Please sign in to comment.