def writeable(doc):
    """
    Return a writeable tuple for doc.

    writeable tuple is any 2-tuple of `output_path`, `bytes`.
    `lettersmith.write` knows how to write these tuples to disk.
    """
    return doc.output_path, doc.content.encode()