code: def render_link(number, for_rst):
      link = f"{ISSUE_BASE}/{number}"
      if for_rst:
          return f"`#{number} <{link}>`_"
      return link
  
file_path: stellargraph/stellargraph/core/experimental.py
imports: import functools
  from textwrap import dedent
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: render_link(number, for_rst) and returns: link, str, number, str, link, str