code: def write_supported_builtin_entities(path):
      table = _build_supported_entities_table(ONTOLOGY)
      results_examples = _build_results_examples(ONTOLOGY)
      content = (
          ENTITIES_DOC_HEADER
          + table
          + ENTITIES_DOC_MIDDLE
          + results_examples
          + ENTITIES_DOC_FOOTER
      )
      with path.open(mode="w") as f:
          f.write(content)
  
file_path: snips-nlu/docs/write_ontology_doc.py
imports: from pathlib import Path
  from snips_nlu_parsers.builtin_entities import get_complete_entity_ontology, get_all_gazetteer_entities
label_desc: Use image node_id 2 for calling a global function with example usage: write_supported_builtin_entities(path) without return types