code: def html_page_context(app, pagename, templatename, context, doctree):
      # Disable edit button for docstring generated pages
      if "generated" in pagename:
          context["theme_use_edit_page_button"] = False
  
file_path: pyqtgraph/doc/source/conf.py
imports: import os
  import sys
  import time
  from datetime import datetime
  from sphinx.application import Sphinx
  import pyqtgraph
label_desc: Use image node_id 1 for calling a global function with example usage: html_page_context(app, pagename, templatename, context, doctree) without return types