Heya, you should just be able to link via sphinx roles no? :doc:`file2` or 
a target within the myst doc :ref:`myref`

On Thursday, 6 October 2022 at 22:52:00 UTC+2 Bob DuCharme wrote:

> I have been using MyST to combine markdown files with Sphinx files, and so 
> far it's going well, except that while trying to link from index.rst to 
> file2.md I can't figure out what syntax to put in index.rst. 
>
> Working from examples in the first tab in 
> https://docs.readthedocs.io/en/stable/guides/cross-referencing-with-sphinx.html,
>  
> I put a Myst target like the first two lines in that MyST tab into 
> file2.md. Then in the index.rst file (that references file2.md in 
> its toctree) I put a link like the last line on that rst tab in the example 
> mentioned above, but the build doesn’t like the link. I tried many rst-ish 
> and markdown-ish variations on that with no luck. Only  `Title of File2 
> Page <file2.html>`_ worked, which feels pretty kludgy. 
>
> Any suggestions? 
>
> Thanks,
>
> Bob
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/7f66beab-bdab-4002-ac39-be5baee29a71n%40googlegroups.com.

Reply via email to