Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WARNING: 'myst' reference target not found #1657

Open
iot49 opened this issue Mar 3, 2022 · 5 comments
Open

WARNING: 'myst' reference target not found #1657

iot49 opened this issue Mar 3, 2022 · 5 comments
Labels
bug Something isn't working state: upstream Requires a change to a dependant package

Comments

@iot49
Copy link
Contributor

iot49 commented Mar 3, 2022

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
@welcome
Copy link

welcome bot commented Mar 3, 2022

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

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! 🎉

@chrisjsewell
Copy link
Contributor

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

@mmcky mmcky added bug Something isn't working state: upstream Requires a change to a dependant package labels Apr 13, 2022
@parmentelat
Copy link

hi; am running into this as well

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

@P-N-L
Copy link

P-N-L commented Jun 24, 2024

I am still experiencing this problem.

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

@hyanwong
Copy link

hyanwong commented Jul 22, 2024

I am also running into this. Is there any reason why the JupyterBook dependencies can't be updated to e.g. myst-parser>=3?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working state: upstream Requires a change to a dependant package
Projects
None yet
Development

No branches or pull requests

6 participants