docs: def load_file(self, app, pathname, relpath, pypath):
          """Loads a file and creates a View from it. Files are split
          between a YAML front-matter and the content (unless it is a .yml file).
          """
          try:
              view_class = self.get_file_view_cls(relpath)
              return create_view_from_file(pathname, source_template=relpath, view_class=view_class)
          except DeclarativeViewError:
              pass