docs: private String applyPublicanCfgOverrides(final BuildData buildData, final String publicanCfg) {
          final Map<String, String> publicanCfgOverrides = buildData.getBuildOptions().getPublicanCfgOverrides();
          String retValue = publicanCfg;
  
          // Loop over each override and remove any entries that may exist and then append the new entry
          for (final Map.Entry<String, String> publicanCfgOverrideEntry : publicanCfgOverrides.entrySet()) {
              retValue = retValue.replaceFirst(publicanCfgOverrideEntry.getKey() + "\\s*:.*?(\\r)?\\n", "");
              retValue += publicanCfgOverrideEntry.getKey() + ": " + publicanCfgOverrideEntry.getValue() + "\n";
          }
  
          return retValue;
      }