Skip to content

Support use of autodoc with myst #163

@asmeurer

Description

@asmeurer

Edit:

The implementation of eval-rst has now been closed (see this documentation section)

However, a new issue has also been opened, specifically for using Markdown in docstrings: #228


I can't figure out how to use autodoc with myst.

With recommonmark, I have something like

```eval_rst
.. autofunction:: functionname
```

or

```eval_rst
.. autoclass:: classname
   :members:
```

Based on on the myst docs. I can't figure out what to use to make it work in myst.

(by the way, the example at https://myst-parser.readthedocs.io/en/latest/using/syntax.html#extended-block-tokens, doesn't seem to agree with the example at https://myst-parser.readthedocs.io/en/latest/using/syntax.html#syntax-directives).

After many attempts at the syntax, I finally got something that at least produced some output. But all it seems to do is inline raw rst instead of rendering it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions