Skip to content

Commit

Permalink
Add policies reference section and license document
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Nov 22, 2024
1 parent c76779f commit 5a7b1c8
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docs/reference/policies/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Policies

- [Versioning](./versioning.md)
- [Platform support](./platforms.md)
- [Licensing](./license.md)
19 changes: 19 additions & 0 deletions docs/reference/policies/license.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# License

uv is licensed under either of

- Apache License, Version 2.0

[LICENSE-APACHE](https://github.com/astral-sh/uv/blob/main/LICENSE-APACHE) or
<https://www.apache.org/licenses/LICENSE-2.0>

- MIT License

[LICENSE-MIT](https://github.com/astral-sh/uv/blob/main/LICENSE-MIT) or
<https://opensource.org/licenses/MIT>

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in uv
by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any
additional terms or conditions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ uv's changelog can be [viewed on GitHub](https://github.com/astral-sh/uv/blob/ma
## Cache versioning

Cache versions are considered internal to uv, and so may be changed in a minor or patch release. See
[Cache versioning](../concepts/cache.md#cache-versioning) for more.
[Cache versioning](../../concepts/cache.md#cache-versioning) for more.

## Lockfile versioning

The `uv.lock` schema version is considered part of the public API, and so will only be incremented
in a minor release as a breaking change. See
[Lockfile versioning](../concepts/resolution.md#lockfile-versioning) for more.
[Lockfile versioning](../../concepts/resolution.md#lockfile-versioning) for more.
9 changes: 7 additions & 2 deletions mkdocs.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ plugins:
redirect_maps:
"concepts/workspaces.md": "concepts/projects/workspaces.md"
"concepts/dependencies.md": "concepts/projects/dependencies.md"
"reference/versioning.md": "reference/policies/versioning.md"
"reference/platforms.md": "reference/policies/platforms.md"
extra_css:
- stylesheets/extra.css
extra_javascript:
Expand Down Expand Up @@ -149,8 +151,11 @@ nav:
- Resolver: reference/resolver-internals.md
- Dependency specifiers: reference/dependency-specifiers.md
- Benchmarks: reference/benchmarks.md
- Versioning: reference/versioning.md
- Platform support: reference/platforms.md
- Policies:
- reference/policies/index.md
- Versioning: reference/policies/versioning.md
- Platform support: reference/policies/platforms.md
- License: reference/policies/license.md
validation:
omitted_files: warn
absolute_links: warn
Expand Down

0 comments on commit 5a7b1c8

Please sign in to comment.