docs: fix the 'view source' button for snapshots

Closes #5590
Closes #5641