jupyter / papyri

MIT License
84 stars 17 forks source link

MISC rst differences. #163

Open Carreau opened 2 years ago

Carreau commented 2 years ago

https://numpy.org/doc/stable/user/quickstart.html

exp. In NumPy, these are called "universal
functions" (\ ``ufunc``). Within NumPy, these functions

In sphinx the backslash is necessary not in papyri.

asmeurer commented 1 year ago

Related to https://github.com/jupyter/papyri/issues/275. From https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#inline-markup-recognition-rules, it seems like an unescaped leading ( before the code should be allowed.

Inline markup start-strings must start a text block or be immediately preceded by

  • whitespace,
  • one of the ASCII characters - : / ' " < ( [ {
  • or a similar non-ASCII punctuation character. [19]