Skip to content

Commit 22eec72

Browse files
author
Diptorup Deb
authored
Include intersphinx extension to generate objects inventory (#850)
* Use intersphinx to generate objects inventory * Fixed warnings from example section in docstring of dpctl.lsplatform
2 parents cb8776a + a42927e commit 22eec72

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/conf.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ extensions = [
5555
"sphinx.ext.autosummary",
5656
"sphinx.ext.coverage",
5757
"sphinx.ext.extlinks",
58+
"sphinx.ext.intersphinx",
5859
"sphinx.ext.githubpages",
5960
"sphinx.ext.napoleon",
6061
"sphinx.ext.todo",

dpctl/_sycl_platform.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ def lsplatform(verbosity=0):
298298
On a system with an OpenCL CPU driver, OpenCL GPU driver,
299299
Level Zero GPU driver, running the command. ::
300300
301-
$python -c "import dpctl; dpctl.lsplatform()"
301+
$ python -c "import dpctl; dpctl.lsplatform()"
302302
303303
returns ::
304304

0 commit comments

Comments
 (0)