Skip to content

Commit 24ec109

Browse files
committed
make cpp:any a local role to suppress sphinx warnings
1 parent d8ed713 commit 24ec109

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

cuda_bindings/docs/source/conf.py

-3
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,6 @@
5050
# This pattern also affects html_static_path and html_extra_path.
5151
exclude_patterns = []
5252

53-
# The reST default role (used for this markup: `text`) to use for all documents.
54-
default_role = "cpp:any"
55-
5653
# -- Options for HTML output -------------------------------------------------
5754

5855
# The theme to use for HTML and HTML Help pages. See the documentation for

cuda_bindings/docs/source/module/nvjitlink.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. default-role:: cpp:any
2+
13
nvjitlink
24
=========
35

cuda_bindings/docs/source/module/nvvm.rst

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. default-role:: cpp:any
2+
13
nvvm
24
====
35

0 commit comments

Comments
 (0)