docs: private List<String> readLinkExcludes(CmsObject cms) {
  
          List<String> linkExcludes = new ArrayList<String>();
  
          try {
              // get the link exclude file
              String filePath = OpenCms.getSystemInfo().getConfigFilePath(cms, LINK_EXCLUDE_DEFINIFITON_FILE);
              CmsResource res = cms.readResource(filePath);
              CmsFile file = cms.readFile(res);
              CmsXmlContent linkExcludeDefinitions = CmsXmlContentFactory.unmarshal(cms, file);
  
              // get number of excludes
              int count = linkExcludeDefinitions.getIndexCount(XPATH_LINK, Locale.ENGLISH);
  
              for (int i = 1; i <= count; i++) {
  
                  String exclude = linkExcludeDefinitions.getStringValue(cms, XPATH_LINK + "[" + i + "]", Locale.ENGLISH);
                  linkExcludes.add(exclude);
  
              }
  
          } catch (CmsException e) {
              LOG.error(e);
          }
  
          return linkExcludes;
      }