Decorator for docstrings referring to objects imported from nbformat.current