code: def modurl(qualname):
      
      obj, module = get_obj_module(qualname)
      github_url = github_url1
      try:
          path = PurePosixPath(Path(module.__file__).resolve().relative_to(project_dir))
      except ValueError:
          # trying to document something from another package
          github_url = github_url2
          path = '/'.join(module.__file__.split('/')[-2:])
      start, end = get_linenos(obj)
      fragment = '#L{}-L{}'.format(start, end) if start and end else ''
      return '{}/{}{}'.format(github_url, path, fragment)
docs: Get the full GitHub URL for some object’s qualname.