class_docstr: Interfaces the rendering environment of jinja2 for use in Sphinx.
class_docstr_tok: ["Interfaces","the","rendering","environment","of","jinja2","for","use","in","Sphinx","."]
code: def render(self, template: str, context: dict) -> str:  # type: ignore[override]
      return self.environment.get_template(template).render(context)
  
imports: from __future__ import annotations
  from os import path
  from pprint import pformat
  from typing import TYPE_CHECKING, Any, Callable
  from jinja2 import BaseLoader, FileSystemLoader, TemplateNotFound
  from jinja2.sandbox import SandboxedEnvironment
  from jinja2.utils import open_if_exists
  from sphinx.application import TemplateBridge
  from sphinx.util import logging
  from sphinx.util.osutil import mtimes_of_files
label_desc: Use image node_id 2 for calling the BuiltinTemplateLoader obj's underlying member method code with example usage: obj.render(template, context) and returns: self