Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions python/extensions/python.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

"""Python toolchain module extensions for use with bzlmod.

:::{topic} Basic usage
::::{topic} Basic usage

The simplest way to configure the toolchain with `rules_python` is as follows.

Expand All @@ -27,22 +27,22 @@ python.toolchain(
use_repo(python, "python_3_11")
```

::::{seealso}
:::{seealso}
For more in-depth documentation see the {obj}`python.toolchain`.
::::
:::
::::

:::{topic} Overrides
::::{topic} Overrides

Overrides can be done at 3 different levels:
* Overrides affecting all python toolchain versions on all platforms - {obj}`python.override`.
* Overrides affecting a single toolchain versions on all platforms - {obj}`python.single_version_override`.
* Overrides affecting a single toolchain versions on a single platforms - {obj}`python.single_version_platform_override`.

::::{seealso}
:::{seealso}
The main documentation page on registering [toolchains](/toolchains).
::::
:::
::::
"""

load("//python/private:python.bzl", _python = "python")
Expand Down