docs: def dedent(self, func):
          """
          Dedent the docstring of a function and substitute with :attr:`params`
  
          Parameters
          ----------
          func: function
              function with the documentation to dedent and whose sections
              shall be inserted from the :attr:`params` attribute"""
          doc = func.__doc__ and self.dedents(func.__doc__, stacklevel=4)
          return self._set_object_doc(func, doc)