code: func (c *commandeer) isThemeVsHugoVersionMismatch(fs afero.Fs) (dir string, mismatch bool, requiredMinVersion string) {
  	if !c.hugo.PathSpec.ThemeSet() {
  		return
  	}
  
  	for _, absThemeDir := range c.hugo.BaseFs.AbsThemeDirs {
  
  		path := filepath.Join(absThemeDir, "theme.toml")
  
  		exists, err := helpers.Exists(path, fs)
  
  		if err != nil || !exists {
  			continue
  		}
  
  		b, err := afero.ReadFile(fs, path)
  		if err != nil {
  			continue
  		}
  
  		tomlMeta, err := metadecoders.Default.UnmarshalToMap(b, metadecoders.TOML)
  		if err != nil {
  			continue
  		}
  
  		if minVersion, ok := tomlMeta["min_version"]; ok {
  			if hugo.CompareVersion(minVersion) > 0 {
  				return absThemeDir, true, fmt.Sprint(minVersion)
  			}
  		}
  
  	}
  
  	return
  }
docs: // isThemeVsHugoVersionMismatch returns whether the current Hugo version is
  // less than any of the themes' min_version.