              main_title = 'Django REST framework - APIs made easy'
          else:
              main_title = 'Django REST framework - ' + main_title
  
          prev_url = prev_url_map.get(relative_path)
          next_url = next_url_map.get(relative_path)
  
          content = markdown.markdown(text, ['headerid'])
 
</s> remove     suffix = '.html'
 </s> add     suffix = '' </s> remove     if idx > 0:
 </s> add     if idx == 1 and not local:
        # Link back to '/', not '/index'
        prev_url_map[path] = '/'
    elif idx > 0:
        canonical_url = base_url + '/' + relative_path[:-3] + suffix
              main_title = 'Django REST framework - APIs made easy'
          else:
              main_title = 'Django REST framework - ' + main_title
  
        canonical_url = base_url + '/' + relative_path[:-3] + suffix
          prev_url = prev_url_map.get(relative_path)
          next_url = next_url_map.get(relative_path)
  
          content = markdown.markdown(text, ['headerid'])
keep keep keep add keep keep keep keep
 Drop .html suffixes in docs 
mkdocs.py