code: def kebab_case(string):
      
      if not string:
          return string
      string = string.replace('_', '-').replace(' ', '-')
      return de_camel(string, '-')
docs: Converts a string to kebab case. For example::
  
          kebab_case('one_two_three') -> 'one-two-three'
  
      NOTE: To generate valid slugs, use :meth:`slugify`