parameters: (self, name)
return_statement: return os.path.join(self.functions_and_classes_dir,
                          _subdir_prefix + str(index))
docstring: Returns the path of the doc subdirectory for member `name`.
  
      When generating individual files for each function and class, we shard
      the files across several directories to avoid hitting the limit for
      files per directory. This function determines the subdirectory for
      a member based on a stable hash of its name.
  
      Args:
        name: string. The name of a function or class.
  
      Returns:
        The path to a subdirectory of the api docs directory.
docstring_summary: Returns the path of the doc subdirectory for member `name`.
docstring_tokens: Returns the path of the doc subdirectory for member name .
function: def shard_dir(self, name):
      """Returns the path of the doc subdirectory for member `name`.
  
      When generating individual files for each function and class, we shard
      the files across several directories to avoid hitting the limit for
      files per directory. This function determines the subdirectory for
      a member based on a stable hash of its name.
  
      Args:
        name: string. The name of a function or class.
  
      Returns:
        The path to a subdirectory of the api docs directory.
      """
      index = _stable_hash(name) % _num_subdirs
      return os.path.join(self.functions_and_classes_dir,
                          _subdir_prefix + str(index))
function_tokens: def shard_dir ( self , name ) : index = _stable_hash ( name ) % _num_subdirs return os . path . join ( self . functions_and_classes_dir , _subdir_prefix + str ( index ) )