Skip to content

Commit 9d73253

Browse files
committed
update docs
1 parent c34248f commit 9d73253

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

docs/api/rules_python/python/cc/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This target provides:
1616
* `CcInfo`: The C++ information about the Python headers.
1717
:::
1818

19-
:::{bzl:target} current_py_cc_headers_abi3
19+
::::{bzl:target} current_py_cc_headers_abi3
2020

2121
A convenience target that provides the Python ABI3 headers. It uses toolchain
2222
resolution to find the headers for the Python runtime matching the interpreter
@@ -26,7 +26,10 @@ that will be used. This basically forwards the underlying
2626
This target provides:
2727

2828
* `CcInfo`: The C++ information about the Python ABI3 headers.
29+
30+
:::{versionadded} VERSION_NEXT_FEATURE
2931
:::
32+
::::
3033

3134
:::{bzl:target} current_py_cc_libs
3235

python/private/current_py_cc_headers.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,5 +72,8 @@ cc_library(
7272
deps = ["@rules_python//python/cc:current_py_cc_headers_abi3"]
7373
)
7474
```
75+
76+
:::{versionadded} VERSION_NEXT_FEATURE
77+
:::
7578
""",
7679
)

python/private/py_cc_toolchain_info.bzl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Information about the header files, struct with fields:
4040
e.g. `:current_py_cc_headers` to act as the underlying headers target it
4141
represents).
4242
"",
43-
"headers_abi3": "\
43+
"headers_abi3": """
4444
:type: struct | None
4545

4646
If available, information about ABI3 (stable ABI) header files, struct with
@@ -63,7 +63,10 @@ fields:
6363
considered private and should be forward along as-is (this better allows
6464
e.g. `:current_py_cc_headers` to act as the underlying headers target it
6565
represents).
66-
",
66+
67+
:::{versionadded} VERSION_NEXT_FEATURE
68+
:::
69+
""",
6770
"libs": "\
6871
:type: struct | None
6972

python/private/py_cc_toolchain_rule.bzl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,14 @@ py_cc_toolchain = rule(
7373
mandatory = True,
7474
),
7575
"headers_abi3": attr.label(
76-
doc = ("Target that provides the Python ABI3 headers. Typically this " +
77-
"is a cc_library target."),
76+
doc = ""
77+
Target that provides the Python ABI3 headers.
78+
79+
Typically this is a cc_library target.
80+
81+
:::{versionadded} VERSION_NEXT_FEATURE
82+
:::
83+
""",
7884
providers = [CcInfo],
7985
),
8086
"libs": attr.label(

0 commit comments

Comments
 (0)