"/dev/md1 for the swap partition" This is afaik nonsense. you lose some capacity, swap doesn't need reliability ;) and when having multiple swap partitions kernel can balance load between them.
It's just an example, nothing wrong with the text.