def METHOD_NAME(src_path, doc_path):
    """
    Create *.rst files for API documentation.
    Parameters
    ----------
    src_path : str
        The path to the working copy of the *Biotite* package.
    doc_path : str
        The path to the API documentation root directory
        (``biotite/doc/apidoc``).
    """
    # Create directory to store apidoc
    if not isdir(doc_path):
        makedirs(doc_path)
    package_list = _create_package_doc("biotite",
                                       join(src_path, "biotite"),
                                       doc_path)
    _create_package_index(doc_path, package_list)