adds documentation for stack viewer