docs: def get_params_from_page(path, file_name, method_count):
      """ This function accesses the rendered content.
          We must do this because how the params are not defined in the docs,
              but rather the rendered HTML
      """
      # open the rendered file.
      file_name = file_name.replace(".rst", "")
      file_path = "{0}/../_build/html/endpoints/{1}/index.html".format(
          path, file_name)
      soup = bs4.BeautifulSoup(open(file_path))
  
      # Pull out the relevant section
      section = soup.find_all('div', class_='section')[method_count]
  
      # get the tbody of the params table
      tbody = section.find('tbody')
      params = []
      if tbody is not None:
          for row in tbody.find_all('tr'):
              name, param_type, required, description = row.find_all('td')
              required = required.text == 'Yes'
              param = dict(
                  name=name.text,
                  type=param_type.text,
                  required=required,
                  description=description.text
              )
              params.append(param)
      params = sorted(params, key=lambda k: not k['required'])
      return params