Skip to content

Commit d214c04

Browse files
committed
improves documentation
1 parent 94bae15 commit d214c04

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

_doc/conf.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"sphinx.ext.githubpages",
1313
"sphinx.ext.ifconfig",
1414
"sphinx.ext.intersphinx",
15+
"sphinx.ext.linkcode",
1516
"sphinx.ext.mathjax",
1617
"sphinx.ext.viewcode",
1718
"sphinx.ext.todo",
@@ -63,15 +64,20 @@
6364
# ]
6465

6566
# The following is used by sphinx.ext.linkcode to provide links to github
66-
linkcode_resolve = make_linkcode_resolve(
67-
"onnx-diagnostic",
67+
_linkcode_resolve = make_linkcode_resolve(
68+
"onnx_diagnostic",
6869
(
6970
"https://github.com/sdpython/onnx-diagnostic/"
7071
"blob/{revision}/{package}/"
7172
"{path}#L{lineno}"
7273
),
7374
)
7475

76+
77+
def linkcode_resolve(domain, info):
78+
return _linkcode_resolve(domain, info)
79+
80+
7581
latex_elements = {
7682
"papersize": "a4",
7783
"pointsize": "10pt",

0 commit comments

Comments
 (0)