def _insert_automodapi_configs(c):
    """Add configurations related to automodapi, autodoc, and numpydoc to the
    state.
    """
    c['numpydoc_show_class_members'] = False
    c['autosummary_generate'] = True
    c['automodapi_toctreedirnm'] = 'py-api'
    c['automodsumm_inherited_members'] = True
    c['autodoc_inherit_docstrings'] = True
    c['autoclass_content'] = 'class'
    c['autodoc_default_flags'] = ['show-inheritance', 'special-members']
    return c
