code: def _get_template_dirs(type="plugin"):
      
      template_dirs = [
          os.path.expanduser(os.path.join(USER_CONFIG_DIR, "templates", type)),
          os.path.join("rapport", "templates", type)  # Local dev tree
      ]
      return template_dirs
docs: Return a list of directories where templates may be located.