Tutorial

Add badges to existing autodoc

Start with the autodoc directives your API page already uses. Existing autofunction, autoclass, and automodule entries automatically receive badges when the extension is loaded.

Render one function:

```{eval-rst}
.. autofunction:: my_project.api.demo_function
```

Render one class and its members:

```{eval-rst}
.. autoclass:: my_project.api.DemoClass
   :members:
```