Skip to content

Commit e06314f

Browse files
authored
docs: fix rendering of python extension (bazel-contrib#2312)
The file doc string used increasing colon-counts for directives (a 3-colon directive contained a 4-colon directive), which messes up subsequent nesting later on the page. To fix, use 4 colons for the outer topic and 3 for the inner topic.
1 parent 8f3538f commit e06314f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

python/extensions/python.bzl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
"""Python toolchain module extensions for use with bzlmod.
1616
17-
:::{topic} Basic usage
17+
::::{topic} Basic usage
1818
1919
The simplest way to configure the toolchain with `rules_python` is as follows.
2020
@@ -27,22 +27,22 @@ python.toolchain(
2727
use_repo(python, "python_3_11")
2828
```
2929
30-
::::{seealso}
30+
:::{seealso}
3131
For more in-depth documentation see the {obj}`python.toolchain`.
32-
::::
3332
:::
33+
::::
3434
35-
:::{topic} Overrides
35+
::::{topic} Overrides
3636
3737
Overrides can be done at 3 different levels:
3838
* Overrides affecting all python toolchain versions on all platforms - {obj}`python.override`.
3939
* Overrides affecting a single toolchain versions on all platforms - {obj}`python.single_version_override`.
4040
* Overrides affecting a single toolchain versions on a single platforms - {obj}`python.single_version_platform_override`.
4141
42-
::::{seealso}
42+
:::{seealso}
4343
The main documentation page on registering [toolchains](/toolchains).
44-
::::
4544
:::
45+
::::
4646
"""
4747

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy