docs: def run(self):
          """Create a list of process definitions."""
          config = self.state.document.settings.env.config
  
          # Get all processes:
          processes = get_processes(config.autoprocess_process_dir, config.autoprocess_source_base_url)
          process_nodes = []
  
          for process in sorted(processes, key=itemgetter('name')):
              process_nodes.extend(self.make_process_node(process))
  
          return process_nodes