Skip to content

Commit 0fdeb07

Browse files
committed
Address docs review comments
1 parent 465f465 commit 0fdeb07

5 files changed

Lines changed: 4 additions & 14 deletions

File tree

cuda_bindings/docs/source/conf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,8 @@ def _github_examples_ref():
132132

133133

134134
def rewrite_source(app, docname, source):
135-
text = source[0]
136-
text = text.replace("|cuda_bindings_github_ref|", GITHUB_EXAMPLES_REF)
137-
138135
if docname.startswith("release/"):
139-
text = text.replace(".. module:: cuda.bindings\n\n", "", 1)
140-
141-
source[0] = text
136+
source[0] = source[0].replace(".. module:: cuda.bindings\n\n", "", 1)
142137

143138

144139
suppress_warnings = [

cuda_bindings/docs/source/release/12.9.6-notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Bugfixes
3131

3232
* Fixed an issue where the ``CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL`` attribute was
3333
retrieved as an unsigned int, rather than a signed int.
34-
(`PR #1336 <https://github.com/NVIDIA/cuda-python/issues/1336>`_)
34+
(`PR #1451 <https://github.com/NVIDIA/cuda-python/pull/1451>`_)
3535
* Fixed a use-after-free in ``_HelperInputVoidPtr`` properties when backed by
3636
Python buffer objects.
3737
(`PR #1629 <https://github.com/NVIDIA/cuda-python/pull/1629>`_)

cuda_bindings/docs/source/release/13.1.1-notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Highlights
1212
----------
1313

1414
* Add missing driver & runtime bindings for functions new in CTK 13.1.0
15-
(`PR #1321 <https://github.com/NVIDIA/cuda-python/issues/1321>`_)
15+
(`PR #1337 <https://github.com/NVIDIA/cuda-python/pull/1337>`_)
1616

1717
Experimental
1818
------------

cuda_bindings/docs/source/release/13.2.0-notes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Bugfixes
3939

4040
* Fixed an issue where the ``CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL`` attribute was
4141
retrieved as an unsigned int, rather than a signed int.
42-
(`PR #1336 <https://github.com/NVIDIA/cuda-python/issues/1336>`_)
42+
(`PR #1451 <https://github.com/NVIDIA/cuda-python/pull/1451>`_)
4343
* Fixed ABI incompatibility bugs in cuFILE bindings introduced in v13.1.0.
4444
(`PR #1468 <https://github.com/NVIDIA/cuda-python/pull/1468>`_)
4545
* Fixed a use-after-free in ``_HelperInputVoidPtr`` properties when backed by

cuda_core/docs/source/conf.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,6 @@ def skip_member(app, what, name, obj, skip, options):
200200
return None
201201

202202

203-
def rewrite_source(app, docname, source):
204-
source[0] = source[0].replace("|cuda_core_github_ref|", GITHUB_EXAMPLES_REF)
205-
206-
207203
def setup(app):
208204
app.connect("autodoc-process-docstring", autodoc_process_docstring)
209205
app.connect("autodoc-skip-member", skip_member)
210-
app.connect("source-read", rewrite_source)

0 commit comments

Comments
 (0)