docs: function getPresets(category) {
      const categoryConfig = configs.find(conf => conf.name === category)
      if (!categoryConfig) {
          return []
      }
  
      const presets = [categoryConfig.configId]
      const subTargets = configs.filter(conf =>
          conf.extends.find(ext => ext.name === category)
      )
      for (const sub of subTargets) {
          for (const name of getPresets(sub.name)) {
              presets.push(name)
          }
      }
      return presets
  }