docs: function logical_path_for_filename(self, filename, filters) {
    var logical_path = self.attributesFor(filename).logicalPath;
  
    if (matches_filter(filters, logical_path, filename)) {
      return logical_path;
    }
  
    // If filename is an index file, retest with alias
    if (path.basename(filename).split('.').shift() === 'index') {
      logical_path = logical_path.replace(/\/index\./, '.');
      if (matches_filter(filters, logical_path, filename)) {
        return logical_path;
      }
    }
  }