import pathlib


def _output_path(output_dir: str, title: str, href: str) -> pathlib.PurePath:
    """Join path from the base dir, title, and href."""
    return pathlib.PurePath(output_dir, title + pathlib.PurePath(href).suffix)