def _is_version_section_title_underline(prev, curr):
    """Find a ==== line that marks the version section title."""
    if prev is None:
        return False
    if re.match(r"^=+$", curr) is None:
        return False
    if len(curr) < len(prev):
        return False
    return True
Find a ==== line that marks the version section title.
product/runtime/docs/sphinx/conf.py