import re


def _reformat_url_to_docusaurus_path(url: str) -> str:
    """Removes the site portion of a GE url.

    Args:
        url: the url including the GE site that should be converted to a Docusaurus absolute link.
    """
    return re.sub(r"^https://docs\.greatexpectations\.io", "", url).strip()