Skip to content

Commit e7c0b89

Browse files
committed
[SYCL][DOC] set myst implicit targets setting
Doc build is getting error after upgrading to latest sphinx. 2023-10-26T21:46:24.1306605Z Warning, treated as error: 2023-10-26T21:46:24.1308815Z /home/runner/work/llvm/llvm/repo/sycl/doc/EnvironmentVariables.md::'myst' cross-reference target not found: 'oneapi_device_selector' [myst.xref_missing]
1 parent 49eb0e3 commit e7c0b89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@
3636
'myst_parser'
3737
]
3838

39+
# Implicit targets for cross reference
40+
myst_heading_anchors = 4
41+
3942
# The name of the Pygments (syntax highlighting) style to use.
4043
pygments_style = 'friendly'
4144

0 commit comments

Comments
 (0)