Skip to content

Commit

Permalink
[SYCL][DOC] set myst implicit targets setting
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
jsji committed Oct 27, 2023
1 parent 49eb0e3 commit e7c0b89
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sycl/doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
'myst_parser'
]

# Implicit targets for cross reference
myst_heading_anchors = 4

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'friendly'

Expand Down

0 comments on commit e7c0b89

Please sign in to comment.