code: def setup(app: Sphinx):
      app.add_builder(PartialMessageCatalogBuilder)
      app.add_config_value("gettext_documents", [], "gettext")
  
file_path: nni/docs/extension/getpartialtext.py
imports: import re
  from docutils import nodes
  from sphinx.application import Sphinx
  from sphinx.builders.gettext import MessageCatalogBuilder
label_desc: Use image node_id 1 for calling a global function with example usage: setup(app) without return types