code: function amendComposes(documentation, path) {
    const moduleName = resolveToModule(path);
    if (moduleName) {
      documentation.addComposes(moduleName);
    }
  }
docs: It resolves the path to its module name and adds it to the "composes" entry
  in the documentation.