-
Notifications
You must be signed in to change notification settings - Fork 200
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
How to refer to a static resource? #167
Comments
Hmm, can you give an idea of how this would look in rst? |
(@choldgraf you beat me to it) Heya @luizirber, could you expand on "link to". |
More info: I'm trying to fix this page (rendered). This works both in Sphinx (for readthedocs) and in GitHub, but when I try to use MyST it complains:
I tried using the
and it works, but it forces a download (while the current solution with So I guess I'm asking what is the proper way of doing it without throwing a warning in Sphinx. Is there something similar to the (and thanks again for taking time to answer, because I realise it is not necessarily a MyST-related issue...) |
Ah so what you've got is an HTML file in your source files (in It sounds like Sphinx is trying to resolve |
Oh no I can definitely see the use case 👍
Not sure what you mean by this? As in there is an existing rST directive that you use that achieves this?
What do you mean by "the current solution", is this something different to using the
Yes, currently this |
Is there any update on the issue? We get the same problem trying to link to local static html files. For whom may be concerned, there is a workaround using ```{eval-rst} `Python API <../../_static/python-api/index.html>`_ ``` |
Same as #215? |
I'm having this issue, with html generated by doxygen. In my Previously with recommonmark, Changing the behavior to make it at least an |
I'm sure we have other similar relative html links scattered throughout that are now just broken. Having to track them all down and replace them with the Though doc builds breaking was part of the motivation for switching in the first place, so its a bit of a conundrum. |
Another workaround is to just insert |
I successfully used the When I tried the MyST syntax, |
Hello,
I'm currently moving the last bits of our docs from RST to md using MyST but I couldn't figure out how to link to files in the
_static/
dir. What is the right syntax for that?Thanks!
The text was updated successfully, but these errors were encountered: