docs: def join_all(domain, *parts):
      """
      Join all url components.
  
      Example::
  
          >>> join_all("https://www.apple.com", "iphone")
          https://www.apple.com/iphone
  
      :param domain: Domain parts, example: https://www.python.org
      :param parts: Other parts, example: "/doc", "/py27"
      :return: url
      """
      l = list()
  
      if domain.endswith("/"):
          domain = domain[:-1]
      l.append(domain)
  
      for part in parts:
          for i in part.split("/"):
              if i.strip():
                  l.append(i)
      url = "/".join(l)
      return url