Skip to content

Commit 0779d83

Browse files
doc
1 parent 598df9e commit 0779d83

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/api/source/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def skip_non_api(app, what, name, obj, skip, options):
190190
def linkcode_resolve(domain, info):
191191
# sphinx.ext.linkcode interface; will link to Github here.
192192
target_ref = "develop"
193-
base_url = f"https://github.com/openvinotoolkit/nncf/blob/{target_ref}/"
193+
base_url = f"https://github.com/openvinotoolkit/nncf/blob/{target_ref}/src/"
194194
if not info["module"]:
195195
return None
196196
fullname = info["module"] + "." + info["fullname"]
@@ -206,6 +206,7 @@ def linkcode_resolve(domain, info):
206206
module_name = info["module"]
207207
filename = module_name.replace(".", "/")
208208
complete_url = base_url + filename + ".py"
209+
print(complete_url)
209210
return complete_url
210211

211212

0 commit comments

Comments
 (0)