docs: fix the 'view source' button for snapshots

fixes #5590