def title(title):
    """ Generate reST title directive.

    :Examples:

    >>> section('Page title')
    '''
    ==========
    Page title
    ==========
    <BLANKLINE>
    '''

    """
    title_len  = len(title)
    return '\n'.join((
        '',
        '=' * title_len,
        title,
        '=' * title_len,
        '',
    ))