docstr: Inverse of links_from_json().
docstr_tok: ["Inverse","of","links_from_json","(",")","."]
code: def to_sphinx(self):
      """Inverse of links_from_json()."""
      dst = os.path.relpath(self.dst, os.path.dirname(self.src))
      return self.src, dst + ".html"
  
file_path: determined/docs/redirects.py
imports: import argparse
  import collections
  import itertools
  import json
  import os
  import pathlib
  import subprocess
  import sys
label_desc: Use image node_id 3 for calling the Link obj's underlying member method code with example usage: obj.to_sphinx() and returns: self,  unknown