docs: def view_history(name, gitref):
      """Serve a page name from git repo (an old version of a page).
  
      .. note:: this is a bottle view
  
      * this is a GET only method : you can not change a committed page
  
      Keyword Arguments:
          :name: (str) -- name of the rest file (without the .rst extension)
          :gitref: (str) -- hexsha of the git commit to look into
  
      Returns:
          bottle response object or 404 error page
      """
      response.set_header('Cache-control', 'no-cache')
      response.set_header('Pragma', 'no-cache')
      content = read_committed_file(gitref, name + '.rst')
      if content:
          html_body = publish_parts(content,
                                    writer=AttowikiWriter(),
                                    settings=None,
                                    settings_overrides=None)['html_body']
          history = commit_history(name + '.rst')
          return template('page',
                          type="history",
                          name=name,
                          extended_name=None,
                          is_repo=check_repo(),
                          history=history,
                          gitref=gitref,
                          content=html_body)
      else:
          return abort(404)