-
Notifications
You must be signed in to change notification settings - Fork 130
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
sphinx cross referencing in markdown cell? #89
Comments
You mean in a Markdown cell in a notebook? No, that's currently not possible. I'm planning to implement this once #36 is done (which might take a long time, probably forever). In the meantime, you can try if it works for you to use "raw" cells: http://nbsphinx.readthedocs.io/en/latest/raw-cells.html. |
ok thanks for the info. i will keep an eye on #36 because i'd like to be able to reference classes within the markdown cells. otherwise its too cumbersome. |
You might also want to have a look at the documentation of Example docs page: http://web.mit.edu/music21/doc/usersGuide/usersGuide_03_pitches.html |
thats exactly what i was referring to. i would use it if it where included in this project or jupyter or sphinx (i dont know where it should go). |
If that's doing what you need, you can just use the stuff from I don't think it makes sense to include this feature in either Jupyter or Sphinx. It makes more sense to have it in an extension, like e.g. As I said, I won't implement this before #36, but if somebody else (for example you?) implements it and makes a PR, I wouldn't have to wait for that. |
@arsenovic If you still need this: In the meantime it is possible to link to your class documentation, but not (yet) with the reST syntax you are using. Instead, you'll have to find out how the HTML anchor of your class is named and then use something like this in a Markdown cell:
See https://nbsphinx.readthedocs.io/en/0.3.5/markdown-cells.html#Links-to-Domain-Objects. |
is there a way to use inline sphinx cross references?
like
The text was updated successfully, but these errors were encountered: