Experimenting with autoapi

This commit is contained in:
Lars Immisch
2024-05-29 22:18:15 +02:00
parent 3e360b1bb7
commit b4cc6f6a6e
3 changed files with 10 additions and 8 deletions

View File

@@ -34,7 +34,9 @@ from setup import pyalsa_version
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = []
extensions = ['autoapi.extension']
autoapi_dirs = ['..']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

View File

@@ -34,12 +34,6 @@ The :mod:`alsaaudio` module defines functions and classes for using ALSA.
*New in 0.8*
.. function:: cards() -> list[str]
List the available ALSA cards by name. This function is only moderately
useful. If you want to see a list of available PCM devices, use :func:`pcms`
instead.
..
Omitted by intention due to being superseded by cards():