docs: def config_dict(config):
      """
      Given a Sphinx config object, return a dictionary of config
      values.
      """
      return dict(
          (key, getattr(config, key))
          for key in config.values
      )