feat(snapshot): Added index rewriting to code.*/snapshot/docs