Skip to content

Commit

Permalink
Reorganize the project concept documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Nov 14, 2024
1 parent fcf8446 commit 134e999
Show file tree
Hide file tree
Showing 32 changed files with 944 additions and 921 deletions.
4 changes: 2 additions & 2 deletions crates/uv-dev/src/generate_json_schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ pub(crate) fn main(args: &Args) -> Result<()> {
const REPLACEMENTS: &[(&str, &str)] = &[
// Use the fully-resolved URL rather than the relative Markdown path.
(
"(../concepts/dependencies.md)",
"(https://docs.astral.sh/uv/concepts/dependencies/)",
"(../concepts/projects/dependencies.md)",
"(https://docs.astral.sh/uv/concepts/projects/dependencies/)",
),
];

Expand Down
2 changes: 1 addition & 1 deletion crates/uv-static/src/env_vars.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl EnvVars {
pub const UV_TOOL_BIN_DIR: &'static str = "UV_TOOL_BIN_DIR";

/// Specifies the path to the directory to use for a project virtual environment.
/// See the [project documentation](../concepts/projects.md#configuring-the-project-environment-path)
/// See the [project documentation](../concepts/projects/config.md#project-environment-path)
/// for more details.
pub const UV_PROJECT_ENVIRONMENT: &'static str = "UV_PROJECT_ENVIRONMENT";

Expand Down
2 changes: 1 addition & 1 deletion crates/uv-workspace/src/pyproject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ pub struct ToolUv {
/// during development. A dependency source can be a Git repository, a URL, a local path, or an
/// alternative registry.
///
/// See [Dependencies](../concepts/dependencies.md) for more.
/// See [Dependencies](../concepts/projects/dependencies.md) for more.
#[option(
default = "{}",
value_type = "dict",
Expand Down
4 changes: 1 addition & 3 deletions docs/concepts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

Read the concept documents to learn more about uv's features:

- [Projects](./projects.md)
- [Dependencies](./dependencies.md)
- [Workspaces](./workspaces.md)
- [Projects](./projects/index.md)
- [Tools](./tools.md)
- [Python versions](./python-versions.md)
- [Resolution](./resolution.md)
Expand Down
Loading

0 comments on commit 134e999

Please sign in to comment.