jupyter-book icon indicating copy to clipboard operation
jupyter-book copied to clipboard

WARNING: 'myst' reference target not found

Open iot49 opened this issue 2 years ago • 5 comments

The following syntax should create a list to a local file:

[Title](./file.pdf)

When I do this in an md file in Jupiter, and open with the preview, everything works as expected: the link is displayed, and clicking on it opens a new browser window showing the contents of the pdf.

However, running jupiter-book build Doc gives a warning:

Doc/example.md:3: WARNING: 'myst' reference target not found: ./file.pdf

and the link is not created in the final html.

Version information:

Jupyter-Book v0.12.1
Sphinx v4.3.2
myst v0.15.2

iot49 avatar Mar 03 '22 19:03 iot49

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Mar 03 '22 19:03 welcome[bot]

Heya, this is now handled in myst-parser v0.17: https://myst-parser.readthedocs.io/en/latest/develop/_changelog.html#markdown-link-resolution-improvements

Hopefully this will make its way up to jupyter-book in the not too distant future

chrisjsewell avatar Mar 03 '22 20:03 chrisjsewell

hi; am running into this as well

is there any known workaround until myst-parser is upgraded in the jb dependencies list ?

parmentelat avatar Sep 12 '22 10:09 parmentelat

I am still experiencing this problem.

I am using JupyterBook v1.0.0, which requires myst-parser<3,>=1

P-N-L avatar Jun 24 '24 16:06 P-N-L