Revise decorators to allow for docstring rendering #673
Labels
bug
Something isn't working
docs
Documentation related
follow up
good first issue
Good for newcomers
Description
All functions that are currently wrapped by decorators (such as
pyhf.set_backend
) are unable to produce proper docstrings that can be rendered by Sphinx. As outlined in this post by Hynek Schlawack a solution would to be to use something likewrapt
to avoid this.This should be investigated to make sure the API is properly documented on the website.
The text was updated successfully, but these errors were encountered: