Skip to content

Commit d656bc1

Browse files
author
Alexander Batashev
authored
[SYCL][Doc] Fix relative links handling for Sphinx (#2294)
Signed-off-by: Alexander Batashev <[email protected]>
1 parent cc20098 commit d656bc1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sycl/doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353

5454
def on_missing_reference(app, env, node, contnode):
5555
if node['reftype'] == 'any':
56+
contnode['refuri'] = "https://github.com/intel/llvm/tree/sycl/sycl/doc/" + contnode['refuri']
5657
return contnode
5758
else:
5859
return None

0 commit comments

Comments
 (0)