docs: def setup_mimetypes(self):
          """ Setup additional mime types. """
          # setup some specific mimetypes
          mimetypes.add_type('text/xml', '.ui')  # qt designer forms forms
          mimetypes.add_type('text/x-rst', '.rst')  # rst docs
          mimetypes.add_type('text/x-cython', '.pyx')  # cython impl files
          mimetypes.add_type('text/x-cython', '.pxd')  # cython def files
          mimetypes.add_type('text/x-python', '.py')
          mimetypes.add_type('text/x-python', '.pyw')
          mimetypes.add_type('text/x-c', '.c')
          mimetypes.add_type('text/x-c', '.h')
          mimetypes.add_type('text/x-c++hdr', '.hpp')
          mimetypes.add_type('text/x-c++src', '.cpp')
          mimetypes.add_type('text/x-c++src', '.cxx')
          # cobol files
          for ext in ['.cbl', '.cob', '.cpy']:
              mimetypes.add_type('text/x-cobol', ext)
              mimetypes.add_type('text/x-cobol', ext.upper())