def delete_site():
    """Remove the local site from the publication. No local
        services must be registered on the site for this to be
        successful.

        It raises ``ValueError`` in case of error.
        """
