code: def create(
              cls,
              path,
              template_engine=None,
              output_filename=None,
              output_ext=None,
              view_name=None
          ):
          
          # if it's a complex view
          if isinstance(path, dict):
              return StatikViewComplexPath(
                  path,
                  template_engine,
                  output_filename=output_filename,
                  output_ext=output_ext,
                  view_name=view_name
              )
          elif isinstance(path, basestring):
              return StatikViewSimplePath(
                  path,
                  output_filename=output_filename,
                  output_ext=output_ext,
                  view_name=view_name
              )
          else:
              raise ValueError(
                  "Unrecognised structure for \"path\" configuration in view: %s" % view_name
              )
docs: Create the relevant subclass of StatikView based on the given path variable and
          parameters.