Skip to content

Commit 7d3539d

Browse files
committed
🔧 MAINTAIN: minor doc addition
1 parent 2c1e1f1 commit 7d3539d

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/using/howto.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ To include rST, we must first "wrap" the directive in the [eval-rst directive](s
3434
The [sphinx.ext.autodoc](sphinx:sphinx.ext.autodoc) is currently hard-coded to write rST, and so can not be used as a conventional MyST directive.
3535
Instead the special [eval-rst directive](syntax/directives/parsing) can be used to "wrap" the autodoc directives:
3636

37+
````md
38+
```{eval-rst}
39+
.. autoclass:: myst_parser.mocking.MockRSTParser
40+
:show-inheritance:
41+
:members: parse
42+
```
43+
````
44+
3745
```{eval-rst}
3846
.. autoclass:: myst_parser.mocking.MockRSTParser
3947
:show-inheritance:

0 commit comments

Comments
 (0)