Improvement to view docs

See #2930.

Please review.