code: def get_readme(name='README.rst'):
      
      with open(name) as f:
          return '\n'.join(
              line for line in f.read().splitlines()
              if not line.startswith('|') or not line.endswith('|'))
docs: Get readme file contents without the badges.