def docbuild(**params):
  """Insert argument text into decorated function's docstring.

  This function easily builds function docstrings and is intended to be
  used before wrapping the function with :meth:`docsub`.
  
  Args:
    **params: The strings which would be used to format the docstring
      templates.
      
  """
  def decorator(decorated):
    decorated.__doc__ = decorated.__doc__.format(
      **params,
    )
    return decorated

  return decorator