code: def _get_path_for_type(type_):
      
      if type_.lower() in CORE_TYPES:
          return Path('index.html#%s' % type_.lower())
      elif '.' in type_:
          namespace, name = type_.split('.')
          return Path('types', namespace, _get_file_name(name))
      else:
          return Path('types',  _get_file_name(type_))
docs: Similar to `_get_path_for` but for only type names.