code: func (r *Spec) newGenericResource(sourceFs afero.Fs,
  	targetPathBuilder func() page.TargetPaths,
  	osFileInfo os.FileInfo,
  	sourceFilename,
  	baseFilename string,
  	mediaType media.Type) *genericResource {
  	return r.newGenericResourceWithBase(
  		sourceFs,
  		false,
  		nil,
  		nil,
  		targetPathBuilder,
  		osFileInfo,
  		sourceFilename,
  		baseFilename,
  		mediaType,
  	)
  
  }
docs: // TODO(bep) clean up below