code: def rstjinja(app, docname, source):
      """
      Render our pages as a jinja template for fancy templating goodness.
      """
      # https://www.ericholscher.com/blog/2016/jul/25/integrating-jinja-rst-sphinx/
      # Make sure we're outputting HTML
      if app.builder.format != "html":
          return
      source[0] = app.builder.templates.render_string(
          source[0], app.config.html_context
      )
  
imports: import os
  import shapely
label_desc: Use image node_id 1 for calling a global function with example usage: rstjinja(app, docname, source) without return types