docs: def licenses(family_directory):
    """Get a list of paths for every license
       file found in a font project."""
    found = []
    search_paths = [family_directory]
    gitroot = git_rootdir(family_directory)
    if gitroot and gitroot not in search_paths:
      search_paths.append(gitroot)
  
    for directory in search_paths:
      if directory:
        for license in ['OFL.txt', 'LICENSE.txt']:
          license_path = os.path.join(directory, license)
          if os.path.exists(license_path):
            found.append(license_path)
    return found