Generate reStructuredText documentation from a confirm schema.

def document(schema_file):
    '''Generate reStructuredText documentation from a confirm schema.'''
    schema = load_schema_file(open(schema_file, 'r'))
    documentation = generate_documentation(schema)
    sys.stdout.write(documentation)