code: private Collection<Link> createLinks() {
          ArrayList<Link> links = new ArrayList<Link>();
  
          Collection<String> enablesQuery = createEnablesQuery();
          links.add(makeLink("Features that this feature enables", "name", enablesQuery));
  
          Collection<String> enabledByQuery = createEnabledByQuery();
          links.add(makeLink("Features that enable this feature", "name", enabledByQuery));
  
          Collection<String> supersedesQuery = createSupersedesQuery();
          links.add(makeLink("Features that this feature supersedes", "name", supersedesQuery));
  
          Collection<String> supersededByQuery = createSupersededByQuery();
          links.add(makeLink("Features that supersede this feature", "name", supersededByQuery));
  
          // Note: by giving this the same link title as superseded-by, the links appear in the same
          // link section on the website (but with the suffix that we add here).
          Collection<String> supersededByOptionalQuery = createSupersededByOptionalQuery();
          links.add(makeLink("Features that supersede this feature", "name", supersededByOptionalQuery, null, " (optional)"));
  
          return links;
      }
docs: Creates the links to enables/enabled-by/supersedes/superseded-by sections. At present,
  link labels are hardcoded in this function. We may need to move them in the future if
  we need to translate them or if we just don't like the idea of having hardcoded message
  strings in here.