zsol / py.wtf

Autogenerated reference docs for PyPI packages
https://py.wtf
MIT License
10 stars 3 forks source link

feat: Fix rendering of a unknown RST directives #152

Closed zsol closed 9 months ago

zsol commented 9 months ago

Specialize the built-in markdownit renderer to:

  1. stop emitting {eval-rst} directives which aren't supported by the browser-side myst rendering
  2. stop using the deprecated rawsource attribute in field_list nodes, which is broken. This should make us properly emit :param foo: markups which are extremely common.
Before After
image image
image image