I have a lot of existing notebooks that have sphinx directives embedded in their markdown cells - stuff like
{meth}`foo_method <foo.bar.Baz.foo_method>`
or
{ref}`this code snippet <this-py>`
I know I can turn these into properly supported links using [this code snippet](path_to_file.rst#this-py) or similar, but the code base I'm working with is huge, and has previously used myst-nb to do this, so replacing every reference would be a serious effort. I'm trying to think about other ways to handle this with nbsphinx; what's the best way to handle this?
I have a lot of existing notebooks that have sphinx directives embedded in their markdown cells - stuff like
{meth}`foo_method <foo.bar.Baz.foo_method>`or
{ref}`this code snippet <this-py>`I know I can turn these into properly supported links using
[this code snippet](path_to_file.rst#this-py)or similar, but the code base I'm working with is huge, and has previously usedmyst-nbto do this, so replacing every reference would be a serious effort. I'm trying to think about other ways to handle this withnbsphinx; what's the best way to handle this?