docs: fix the 'show source' button for snapshots

fixes #5590