parameters: (self, page_name, content, summary)
docstring: Update ``page_name`` with ``content``.
docstring_summary: Update ``page_name`` with ``content``.
docstring_tokens: Update page_name with content .
function: def set_page_content(self, page_name, content, summary):
      """Update ``page_name`` with ``content``."""
      log.info("updating %s" % page_name)
      log.debug("accessing page [%s]" % page_name)
      page = self.doc.site.pages[page_name]
      if page.text() == content:
        log.info("skipping %s: content up-to-date" % page_name)
        return
      page.save(content, summary=summary)
function_tokens: def set_page_content ( self , page_name , content , summary ) : log . info ( "updating %s" % page_name ) log . debug ( "accessing page [%s]" % page_name ) page = self . doc . site . pages [ page_name ] if page . text ( ) == content : log . info ( "skipping %s: content up-to-date" % page_name ) return page . save ( content , summary = summary )