@classmethod
def add_options(cls, parser):
    """Add RST directives and roles options."""
    parser.add_option('--rst-directives', metavar='LIST', default='',
        parse_from_config=True, comma_separated_list=True, help=
        'Comma-separated list of additional RST directives.')
    parser.add_option('--rst-roles', metavar='LIST', default='',
        parse_from_config=True, comma_separated_list=True, help=
        'Comma-separated list of additional RST roles.')
