code: def gerrymanderNodeFilenames(self):
          '''
          When creating nodes, the filename needs to be relative to ``conf.py``, so it
          will include ``self.root_directory``.  However, when generating the API, the
          file we are writing to is in the same directory as the generated node files so
          we need to remove the directory path from a given ExhaleNode's ``file_name``
          before we can ``include`` it or use it in a ``toctree``.
          '''
          for node in self.all_nodes:
              node.file_name = os.path.basename(node.file_name)
              if node.kind == "file":
                  node.program_file = os.path.basename(node.program_filef gerrymanderNodeFilenames(self):
          '''
          When creating nodes, the filename needs to be relative to ``conf.py``, so it
          will include ``self.root_directory``.  However, when generating the API, the
          file we are writing to is in the same directory as the generated node files so
          we need to remove the directory path from a given ExhaleNode's ``file_name``
          before we can ``include`` it or use it in a ``toctree``.
          '''
          for node in self.all_nodes:
              node.file_name = os.path.basename(node.file_name)
              if node.kind == "file":
                  node.program_file = os.path.basename(node.program_file)
docs: When creating nodes, the filename needs to be relative to ``conf.py``, so it
          will include ``self.root_directory``.  However, when generating the API, the
          file we are writing to is in the same directory as the generated node files so
          we need to remove the directory path from a given ExhaleNode's ``file_name``
          before we can ``include`` it or use it in a ``toctree``.