docs: def yaml_squote(text):
      '''
      Make text into a single-quoted YAML string with correct escaping
      for special characters.  Includes the opening and closing single
      quote characters.
      '''
      with io.StringIO() as ostream:
          yemitter = yaml.emitter.Emitter(ostream, width=six.MAXSIZE)
          yemitter.write_single_quoted(six.text_type(text))
          return ostream.getvalue()