docs: def parse_readme(cls, readme_path: str = 'README.rst', encoding: str = 'utf-8') -> str:
          """Parse readme and resolve relative links in it if it is feasible.
  
          Links are resolved if readme is in rst format and the package is hosted on GitHub.
          """
          with HERE.joinpath(readme_path).open(encoding=encoding) as readme_file:
              long_description = readme_file.read()  # type: str
  
          if readme_path.endswith('.rst') and cls.download_url.startswith('https://github.com/'):
              base_url = '{}/blob/v{}/'.format(cls.download_url, cls.version)
              long_description = resolve_relative_rst_links(long_description, base_url)
  
          return long_description