|
18 | 18 | # -- Project information -----------------------------------------------------
|
19 | 19 |
|
20 | 20 | project = "cuda.bindings"
|
21 |
| -copyright = "2021-2024, NVIDIA" |
| 21 | +copyright = "2021-2025, NVIDIA" |
22 | 22 | author = "NVIDIA"
|
23 | 23 |
|
24 | 24 | # The full version, including alpha/beta/rc tags
|
|
30 | 30 | # Add any Sphinx extension module names here, as strings. They can be
|
31 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
32 | 32 | # ones.
|
33 |
| -extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "myst_nb", "enum_tools.autoenum"] |
| 33 | +extensions = [ |
| 34 | + "sphinx.ext.autodoc", |
| 35 | + "sphinx.ext.napoleon", |
| 36 | + "sphinx.ext.intersphinx", |
| 37 | + "myst_nb", |
| 38 | + "enum_tools.autoenum", |
| 39 | + "sphinx_copybutton", |
| 40 | +] |
34 | 41 |
|
35 | 42 | nb_execution_mode = "off"
|
36 | 43 | numfig = True
|
|
85 | 92 | # so a file named "default.css" will overwrite the builtin "default.css".
|
86 | 93 | html_static_path = ["_static"]
|
87 | 94 |
|
| 95 | +# skip cmdline prompts |
| 96 | +copybutton_exclude = ".linenos, .gp" |
| 97 | + |
| 98 | +intersphinx_mapping = { |
| 99 | + "python": ("https://docs.python.org/3/", None), |
| 100 | + "numpy": ("https://numpy.org/doc/stable/", None), |
| 101 | + "nvvm": ("https://docs.nvidia.com/cuda/libnvvm-api/", None), |
| 102 | + "nvjitlink": ("https://docs.nvidia.com/cuda/nvjitlink/", None), |
| 103 | +} |
| 104 | + |
88 | 105 | suppress_warnings = [
|
89 | 106 | # for warnings about multiple possible targets, see NVIDIA/cuda-python#152
|
90 | 107 | "ref.python",
|
|
0 commit comments