def render_doc(jinja_env, stig_rule, deployer_notes):
    """Generate documentation RST for each STIG configuration."""
    template = jinja_env.get_template('template_doc.j2')
    return template.render(
        rule=stig_rule,
        notes=deployer_notes
    )