Skip to content
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

docs: fix rendering of python extension #2312

Merged
merged 1 commit into from
Oct 18, 2024
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