class_docstr: Class to wrap the different commands of this script.
  
  All public methods of this class can be called as parameters of the
  script.
code: def __init__(
      self,
      num_jobs="auto",
      include_api=True,
      whatsnew=False,
      single_doc=None,
      verbosity=0,
      warnings_are_errors=False,
      no_browser=False,
  ) -> None:
      self.num_jobs = num_jobs
      self.include_api = include_api
      self.whatsnew = whatsnew
      self.verbosity = verbosity
      self.warnings_are_errors = warnings_are_errors
      self.no_browser = no_browser
  
      if single_doc:
          single_doc = self._process_single_doc(single_doc)
          os.environ["SPHINX_PATTERN"] = single_doc
      elif not include_api:
          os.environ["SPHINX_PATTERN"] = "-api"
      elif whatsnew:
          os.environ["SPHINX_PATTERN"] = "whatsnew"
  
      self.single_doc_html = None
      if single_doc and single_doc.endswith(".rst"):
          self.single_doc_html = (
              os.path.splitext(single_doc)[0] + ".html"
          )
      elif single_doc:
          self.single_doc_html = (
              f"reference/api/pandas.{single_doc}.html"
          )
  
imports: import argparse
  import csv
  import importlib
  import os
  import shutil
  import subprocess
  import sys
  import webbrowser
  import docutils
  import docutils.parsers.rst
label_desc: Use image node_id 1 to create a new DocBuilder object  with example: obj = DocBuilder(num_jobs, include_api, whatsnew, single_doc, verbosity, warnings_are_errors, no_browser)