Escape | in docstring to avoid issue when generating documentation for docstring