fix: revise some remaining issues regarding master docs deploy from #656.
fix: revise some remaining issues regarding master docs deploy from #656.

This is a squashed commit including #657, #658 and a bunch of following commits until the problem was resolved.

cc @effigies @mgxd - please fix your repos' histories if they were updated with commits after #656.

oesteban/niworkflows,oesteban/niworkflows,oesteban/niworkflows