docs: function matchPaths(pageLinks, path) {
    let result;
    path = _.compact(path.split('/'));
    result = _.filter(_.keys(pageLinks), key => {
      const path2 = _.compact(key.split('/'));
      const noMatch = _.filter(path2, fragment => {
        return fragment.substring(0, 1) !== ':' && _.indexOf(path, fragment) !== _.indexOf(path2, fragment);
      });
      return noMatch.length === 0;
    });
    return result[0];
  }